Skip to content

查询投诉详情

商户可通过调用此接口,查询指定投诉的用户投诉详情,包含投诉内容、投诉订单、投诉人联系方式等信息,方便商户获取投诉详情处理投诉。

🚫

本接口服务已于 2020.11.27 (北京时间)下线,文档仅做留存参考。

请求参数类型描述
transaction_idstring微信支付订单号
php
$instance->v3->merchantService->complaints->_transaction_id_->getAsync([
  'transaction_id' => '4200000404201909069117582536',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant-service/complaints/{transaction_id}')->getAsync([
  'transaction_id' => '4200000404201909069117582536',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant-service/complaints/{transaction_id}']->getAsync([
  'transaction_id' => '4200000404201909069117582536',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchantService->complaints->_transaction_id_->get([
  'transaction_id' => '4200000404201909069117582536',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant-service/complaints/{transaction_id}')->get([
  'transaction_id' => '4200000404201909069117582536',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant-service/complaints/{transaction_id}']->get([
  'transaction_id' => '4200000404201909069117582536',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
out_trade_nostring商户订单号
complaint_timestring投诉时间
amountinteger投诉金额
payer_phonestring投诉人联系方式
complaint_detailstring投诉描述
complaint_statestring投诉单状态
transaction_idstring微信支付订单号
frozen_end_timestring冻结结束时间
sub_mchidstring特约商户号
complaint_handle_statestring投诉单处理进展状态

参阅 官方文档

Published on the GitHub by TheNorthMemory