查询投诉单详情
商户可通过调用此接口,查询指定投诉单的用户投诉详情,包含投诉内容、投诉关联订单、投诉人联系方式等信息,方便商户处理投诉。
| 请求参数 | 类型 | 描述 |
|---|---|---|
| complaint_id | string | 投诉单号 |
php
$instance->v3->merchantService->complaintsV2->_complaint_id_->getAsync([
'complaint_id' => '200201820200101080076610000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance->chain('v3/merchant-service/complaints-v2/{complaint_id}')->getAsync([
'complaint_id' => '200201820200101080076610000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance['v3/merchant-service/complaints-v2/{complaint_id}']->getAsync([
'complaint_id' => '200201820200101080076610000',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$response = $instance->v3->merchantService->complaintsV2->_complaint_id_->get([
'complaint_id' => '200201820200101080076610000',
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance->chain('v3/merchant-service/complaints-v2/{complaint_id}')->get([
'complaint_id' => '200201820200101080076610000',
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance['v3/merchant-service/complaints-v2/{complaint_id}']->get([
'complaint_id' => '200201820200101080076610000',
]);
print_r(json_decode((string) $response->getBody(), true));| 返回字典 | 类型 | 描述 |
|---|---|---|
| complaint_id | string | 投诉单号 |
| complaint_time | string | 投诉时间 |
| complaint_detail | string | 投诉详情 |
| complaint_state | string | 投诉单状态PENDING | PROCESSING | PROCESSED 枚举值之一 |
| complainted_mchid | string | 被诉商户号 |
| payer_phone | string | 投诉人联系方式 |
| payer_openid | string | 投诉人openid |
| complaint_media_list | object[] | 投诉资料列表 |
| media_type | string | 媒体文件业务类型USER_COMPLAINT_IMAGE | OPERATION_IMAGE 枚举值之一 |
| media_url | string[] | 媒体文列表 |
| complaint_order_info | object[] | 投诉单关联订单信息 |
| transaction_id | string | 微信订单号 |
| out_trade_no | string | 商户订单号 |
| amount | integer | 订单金额 |
| service_order_info | object[] | 投诉单关联服务单信息 |
| order_id | string | 微信支付服务订单号 |
| out_order_no | string | 商户服务订单号 |
| state | string | 支付分服务单状态 |
| complaint_full_refunded | boolean | 投诉单是否已全额退款 |
| incoming_user_response | boolean | 是否有待回复的用户留言 |
| problem_description | string | 问题描述 |
| user_complaint_times | integer | 用户投诉次数 |
| problem_type | string | 问题类型REFUND | SERVICE_NOT_WORK | OTHERS 枚举值之一 |
| apply_refund_amount | integer | 申请退款金额 |
| user_tag_list | string[] | 用户标签列表TRUSTED | HIGH_RISK 枚举值之一 |
| additional_info | object | 补充信息 |
| type | string | 补充信息类型SHARE_POWER_TYPE 枚举值 |
| share_power_info | object | 充电宝投诉相关信息 |
| return_time | string | 归还时间 |
| return_address_info | object | 归还地点信息 |
| return_address | string | 归还地点 |
| longitude | string | 归还地点经度 |
| latitude | string | 归还地点纬度 |
| is_returned_to_same_machine | boolean | 是否归还同一柜机 |
| in_platform_service | boolean | 是否在平台协助中 |
| need_immediate_service | boolean | 是否需即时服务用户 |