查询投诉单详情
更新时间:2025.08.28商户可通过调用此接口,查询指定投诉单的用户投诉详情,包含投诉关联订单信息、支付分服务单信息、投诉的问题类型、问题描述、投诉人联系方式等信息,方便商户处理投诉。
接口说明
支持商户:【普通服务商】 【从业机构(银行)】 【从业机构(支付机构)】 【渠道商】 【清算机构】
请求方式:【GET】/v3/merchant-service/complaints-v2/{complaint_id}
请求域名:【主域名】https://api.mch.weixin.qq.com 使用该域名将访问就近的接入点
【备域名】https://api2.mch.weixin.qq.com 使用该域名将访问异地的接入点 ,指引点击查看
请求参数
Header HTTP头参数
Authorization 必填 string
请参考签名认证生成认证信息
Accept 必填 string
请设置为application/json
path 路径参数
complaint_id 必填 string(64)
【投诉单号】 投诉单对应的投诉单号
请求示例
GET
1curl -X GET \ 2 https://api.mch.weixin.qq.com/v3/merchant-service/complaints-v2/200201820200101080076610000 \ 3 -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \ 4 -H "Accept: application/json" 5
需配合微信支付工具库 WXPayUtility 使用,请参考Java
1package com.java.demo; 2 3import com.java.utils.WXPayUtility; // 引用微信支付工具库,参考:https://pay.weixin.qq.com/doc/v3/partner/4014985777 4 5import com.google.gson.annotations.SerializedName; 6import com.google.gson.annotations.Expose; 7import okhttp3.MediaType; 8import okhttp3.OkHttpClient; 9import okhttp3.Request; 10import okhttp3.RequestBody; 11import okhttp3.Response; 12 13import java.io.IOException; 14import java.io.UncheckedIOException; 15import java.security.PrivateKey; 16import java.security.PublicKey; 17import java.util.ArrayList; 18import java.util.HashMap; 19import java.util.List; 20import java.util.Map; 21 22/** 23 * 查询投诉单详情 24 */ 25public class QueryComplaintV2 { 26 private static String HOST = "https://api.mch.weixin.qq.com"; 27 private static String METHOD = "GET"; 28 private static String PATH = "/v3/merchant-service/complaints-v2/{complaint_id}"; 29 30 public static void main(String[] args) { 31 // TODO: 请准备商户开发必要参数,参考:https://pay.weixin.qq.com/doc/v3/partner/4013080340 32 QueryComplaintV2 client = new QueryComplaintV2( 33 "19xxxxxxxx", // 商户号,是由微信支付系统生成并分配给每个商户的唯一标识符,商户号获取方式参考 https://pay.weixin.qq.com/doc/v3/partner/4013080340 34 "1DDE55AD98Exxxxxxxxxx", // 商户API证书序列号,如何获取请参考 https://pay.weixin.qq.com/doc/v3/partner/4013058924 35 "/path/to/apiclient_key.pem", // 商户API证书私钥文件路径,本地文件路径 36 "PUB_KEY_ID_xxxxxxxxxxxxx", // 微信支付公钥ID,如何获取请参考 https://pay.weixin.qq.com/doc/v3/partner/4013038589 37 "/path/to/wxp_pub.pem" // 微信支付公钥文件路径,本地文件路径 38 ); 39 40 QueryComplaintV2Request request = new QueryComplaintV2Request(); 41 request.complaintId = "200201820200101080076610000"; 42 try { 43 ComplaintInfo response = client.run(request); 44 // TODO: 请求成功,继续业务逻辑 45 System.out.println(response); 46 } catch (WXPayUtility.ApiException e) { 47 // TODO: 请求失败,根据状态码执行不同的逻辑 48 e.printStackTrace(); 49 } 50 } 51 52 public ComplaintInfo run(QueryComplaintV2Request request) { 53 String uri = PATH; 54 uri = uri.replace("{complaint_id}", WXPayUtility.urlEncode(request.complaintId)); 55 56 Request.Builder reqBuilder = new Request.Builder().url(HOST + uri); 57 reqBuilder.addHeader("Accept", "application/json"); 58 reqBuilder.addHeader("Wechatpay-Serial", wechatPayPublicKeyId); 59 reqBuilder.addHeader("Authorization", WXPayUtility.buildAuthorization(mchid, certificateSerialNo, privateKey, METHOD, uri, null)); 60 reqBuilder.method(METHOD, null); 61 Request httpRequest = reqBuilder.build(); 62 63 // 发送HTTP请求 64 OkHttpClient client = new OkHttpClient.Builder().build(); 65 try (Response httpResponse = client.newCall(httpRequest).execute()) { 66 String respBody = WXPayUtility.extractBody(httpResponse); 67 if (httpResponse.code() >= 200 && httpResponse.code() < 300) { 68 // 2XX 成功,验证应答签名 69 WXPayUtility.validateResponse(this.wechatPayPublicKeyId, this.wechatPayPublicKey, 70 httpResponse.headers(), respBody); 71 72 // 从HTTP应答报文构建返回数据 73 return WXPayUtility.fromJson(respBody, ComplaintInfo.class); 74 } else { 75 throw new WXPayUtility.ApiException(httpResponse.code(), respBody, httpResponse.headers()); 76 } 77 } catch (IOException e) { 78 throw new UncheckedIOException("Sending request to " + uri + " failed.", e); 79 } 80 } 81 82 private final String mchid; 83 private final String certificateSerialNo; 84 private final PrivateKey privateKey; 85 private final String wechatPayPublicKeyId; 86 private final PublicKey wechatPayPublicKey; 87 88 public QueryComplaintV2(String mchid, String certificateSerialNo, String privateKeyFilePath, String wechatPayPublicKeyId, String wechatPayPublicKeyFilePath) { 89 this.mchid = mchid; 90 this.certificateSerialNo = certificateSerialNo; 91 this.privateKey = WXPayUtility.loadPrivateKeyFromPath(privateKeyFilePath); 92 this.wechatPayPublicKeyId = wechatPayPublicKeyId; 93 this.wechatPayPublicKey = WXPayUtility.loadPublicKeyFromPath(wechatPayPublicKeyFilePath); 94 } 95 96 public static class QueryComplaintV2Request { 97 @SerializedName("complaint_id") 98 @Expose(serialize = false) 99 public String complaintId; 100 } 101 102 public static class ComplaintInfo { 103 @SerializedName("complaint_id") 104 public String complaintId; 105 106 @SerializedName("complaint_time") 107 public String complaintTime; 108 109 @SerializedName("complaint_detail") 110 public String complaintDetail; 111 112 @SerializedName("complaint_state") 113 public String complaintState; 114 115 @SerializedName("complainted_mchid") 116 public String complaintedMchid; 117 118 @SerializedName("payer_phone") 119 public String payerPhone; 120 121 @SerializedName("payer_openid") 122 public String payerOpenid; 123 124 @SerializedName("complaint_order_info") 125 public List<ComplaintOrderInfo> complaintOrderInfo; 126 127 @SerializedName("complaint_full_refunded") 128 public Boolean complaintFullRefunded; 129 130 @SerializedName("incoming_user_response") 131 public Boolean incomingUserResponse; 132 133 @SerializedName("user_complaint_times") 134 public Long userComplaintTimes; 135 136 @SerializedName("complaint_media_list") 137 public List<ComplaintMedia> complaintMediaList; 138 139 @SerializedName("problem_description") 140 public String problemDescription; 141 142 @SerializedName("problem_type") 143 public ProblemType problemType; 144 145 @SerializedName("apply_refund_amount") 146 public Long applyRefundAmount; 147 148 @SerializedName("user_tag_list") 149 public List<UserTag> userTagList; 150 151 @SerializedName("service_order_info") 152 public List<ServiceOrderInfo> serviceOrderInfo; 153 154 @SerializedName("additional_info") 155 public AdditionalInfo additionalInfo; 156 157 @SerializedName("in_platform_service") 158 public Boolean inPlatformService; 159 160 @SerializedName("need_immediate_service") 161 public Boolean needImmediateService; 162 163 @SerializedName("is_agent_mode") 164 public Boolean isAgentMode; 165 } 166 167 public static class ComplaintOrderInfo { 168 @SerializedName("transaction_id") 169 public String transactionId; 170 171 @SerializedName("out_trade_no") 172 public String outTradeNo; 173 174 @SerializedName("amount") 175 public Long amount; 176 } 177 178 public static class ComplaintMedia { 179 @SerializedName("media_type") 180 public ComplaintMediaType mediaType; 181 182 @SerializedName("media_url") 183 public List<String> mediaUrl = new ArrayList<String>(); 184 } 185 186 public enum ProblemType { 187 @SerializedName("REFUND") 188 REFUND, 189 @SerializedName("SERVICE_NOT_WORK") 190 SERVICE_NOT_WORK, 191 @SerializedName("OTHERS") 192 OTHERS 193 } 194 195 public enum UserTag { 196 @SerializedName("TRUSTED") 197 TRUSTED, 198 @SerializedName("HIGH_RISK") 199 HIGH_RISK 200 } 201 202 public static class ServiceOrderInfo { 203 @SerializedName("order_id") 204 public String orderId; 205 206 @SerializedName("out_order_no") 207 public String outOrderNo; 208 209 @SerializedName("state") 210 public ServiceOrderState state; 211 } 212 213 public static class AdditionalInfo { 214 @SerializedName("type") 215 public AdditionalType type; 216 217 @SerializedName("share_power_info") 218 public SharePowerInfo sharePowerInfo; 219 } 220 221 public enum ComplaintMediaType { 222 @SerializedName("USER_COMPLAINT_IMAGE") 223 USER_COMPLAINT_IMAGE, 224 @SerializedName("OPERATION_IMAGE") 225 OPERATION_IMAGE 226 } 227 228 public enum ServiceOrderState { 229 @SerializedName("DOING") 230 DOING, 231 @SerializedName("REVOKED") 232 REVOKED, 233 @SerializedName("WAITPAY") 234 WAITPAY, 235 @SerializedName("DONE") 236 DONE 237 } 238 239 public enum AdditionalType { 240 @SerializedName("SHARE_POWER_TYPE") 241 SHARE_POWER_TYPE 242 } 243 244 public static class SharePowerInfo { 245 @SerializedName("return_time") 246 public String returnTime; 247 248 @SerializedName("return_address_info") 249 public ReturnAddressInfo returnAddressInfo; 250 251 @SerializedName("is_returned_to_same_machine") 252 public Boolean isReturnedToSameMachine; 253 } 254 255 public static class ReturnAddressInfo { 256 @SerializedName("return_address") 257 public String returnAddress; 258 259 @SerializedName("longitude") 260 public String longitude; 261 262 @SerializedName("latitude") 263 public String latitude; 264 } 265 266} 267
需配合微信支付工具库 wxpay_utility 使用,请参考Go
1package main 2 3import ( 4 "demo/wxpay_utility" // 引用微信支付工具库,参考 https://pay.weixin.qq.com/doc/v3/partner/4015119446 5 "encoding/json" 6 "fmt" 7 "net/http" 8 "net/url" 9 "strings" 10) 11 12func main() { 13 // TODO: 请准备商户开发必要参数,参考:https://pay.weixin.qq.com/doc/v3/partner/4013080340 14 config, err := wxpay_utility.CreateMchConfig( 15 "19xxxxxxxx", // 商户号,是由微信支付系统生成并分配给每个商户的唯一标识符,商户号获取方式参考 https://pay.weixin.qq.com/doc/v3/partner/4013080340 16 "1DDE55AD98Exxxxxxxxxx", // 商户API证书序列号,如何获取请参考 https://pay.weixin.qq.com/doc/v3/partner/4013058924 17 "/path/to/apiclient_key.pem", // 商户API证书私钥文件路径,本地文件路径 18 "PUB_KEY_ID_xxxxxxxxxxxxx", // 微信支付公钥ID,如何获取请参考 https://pay.weixin.qq.com/doc/v3/partner/4013038589 19 "/path/to/wxp_pub.pem", // 微信支付公钥文件路径,本地文件路径 20 ) 21 if err != nil { 22 fmt.Println(err) 23 return 24 } 25 26 request := &QueryComplaintV2Request{ 27 ComplaintId: wxpay_utility.String("200201820200101080076610000"), 28 } 29 30 response, err := QueryComplaintV2(config, request) 31 if err != nil { 32 fmt.Printf("请求失败: %+v\n", err) 33 // TODO: 请求失败,根据状态码执行不同的处理 34 return 35 } 36 37 // TODO: 请求成功,继续业务逻辑 38 fmt.Printf("请求成功: %+v\n", response) 39} 40 41func QueryComplaintV2(config *wxpay_utility.MchConfig, request *QueryComplaintV2Request) (response *ComplaintInfo, err error) { 42 const ( 43 host = "https://api.mch.weixin.qq.com" 44 method = "GET" 45 path = "/v3/merchant-service/complaints-v2/{complaint_id}" 46 ) 47 48 reqUrl, err := url.Parse(fmt.Sprintf("%s%s", host, path)) 49 if err != nil { 50 return nil, err 51 } 52 reqUrl.Path = strings.Replace(reqUrl.Path, "{complaint_id}", url.PathEscape(*request.ComplaintId), -1) 53 httpRequest, err := http.NewRequest(method, reqUrl.String(), nil) 54 if err != nil { 55 return nil, err 56 } 57 httpRequest.Header.Set("Accept", "application/json") 58 httpRequest.Header.Set("Wechatpay-Serial", config.WechatPayPublicKeyId()) 59 authorization, err := wxpay_utility.BuildAuthorization(config.MchId(), config.CertificateSerialNo(), config.PrivateKey(), method, reqUrl.RequestURI(), nil) 60 if err != nil { 61 return nil, err 62 } 63 httpRequest.Header.Set("Authorization", authorization) 64 65 client := &http.Client{} 66 httpResponse, err := client.Do(httpRequest) 67 if err != nil { 68 return nil, err 69 } 70 respBody, err := wxpay_utility.ExtractResponseBody(httpResponse) 71 if err != nil { 72 return nil, err 73 } 74 if httpResponse.StatusCode >= 200 && httpResponse.StatusCode < 300 { 75 // 2XX 成功,验证应答签名 76 err = wxpay_utility.ValidateResponse( 77 config.WechatPayPublicKeyId(), 78 config.WechatPayPublicKey(), 79 &httpResponse.Header, 80 respBody, 81 ) 82 if err != nil { 83 return nil, err 84 } 85 response := &ComplaintInfo{} 86 if err := json.Unmarshal(respBody, response); err != nil { 87 return nil, err 88 } 89 90 return response, nil 91 } else { 92 return nil, wxpay_utility.NewApiException( 93 httpResponse.StatusCode, 94 httpResponse.Header, 95 respBody, 96 ) 97 } 98} 99 100type QueryComplaintV2Request struct { 101 ComplaintId *string `json:"complaint_id,omitempty"` 102} 103 104func (o *QueryComplaintV2Request) MarshalJSON() ([]byte, error) { 105 type Alias QueryComplaintV2Request 106 a := &struct { 107 ComplaintId *string `json:"complaint_id,omitempty"` 108 *Alias 109 }{ 110 // 序列化时移除非 Body 字段 111 ComplaintId: nil, 112 Alias: (*Alias)(o), 113 } 114 return json.Marshal(a) 115} 116 117type ComplaintInfo struct { 118 ComplaintId *string `json:"complaint_id,omitempty"` 119 ComplaintTime *string `json:"complaint_time,omitempty"` 120 ComplaintDetail *string `json:"complaint_detail,omitempty"` 121 ComplaintState *string `json:"complaint_state,omitempty"` 122 ComplaintedMchid *string `json:"complainted_mchid,omitempty"` 123 PayerPhone *string `json:"payer_phone,omitempty"` 124 PayerOpenid *string `json:"payer_openid,omitempty"` 125 ComplaintOrderInfo []ComplaintOrderInfo `json:"complaint_order_info,omitempty"` 126 ComplaintFullRefunded *bool `json:"complaint_full_refunded,omitempty"` 127 IncomingUserResponse *bool `json:"incoming_user_response,omitempty"` 128 UserComplaintTimes *int64 `json:"user_complaint_times,omitempty"` 129 ComplaintMediaList []ComplaintMedia `json:"complaint_media_list,omitempty"` 130 ProblemDescription *string `json:"problem_description,omitempty"` 131 ProblemType *ProblemType `json:"problem_type,omitempty"` 132 ApplyRefundAmount *int64 `json:"apply_refund_amount,omitempty"` 133 UserTagList []UserTag `json:"user_tag_list,omitempty"` 134 ServiceOrderInfo []ServiceOrderInfo `json:"service_order_info,omitempty"` 135 AdditionalInfo *AdditionalInfo `json:"additional_info,omitempty"` 136 InPlatformService *bool `json:"in_platform_service,omitempty"` 137 NeedImmediateService *bool `json:"need_immediate_service,omitempty"` 138 IsAgentMode *bool `json:"is_agent_mode,omitempty"` 139} 140 141type ComplaintOrderInfo struct { 142 TransactionId *string `json:"transaction_id,omitempty"` 143 OutTradeNo *string `json:"out_trade_no,omitempty"` 144 Amount *int64 `json:"amount,omitempty"` 145} 146 147type ComplaintMedia struct { 148 MediaType *ComplaintMediaType `json:"media_type,omitempty"` 149 MediaUrl []string `json:"media_url,omitempty"` 150} 151 152type ProblemType string 153 154func (e ProblemType) Ptr() *ProblemType { 155 return &e 156} 157 158const ( 159 PROBLEMTYPE_REFUND ProblemType = "REFUND" 160 PROBLEMTYPE_SERVICE_NOT_WORK ProblemType = "SERVICE_NOT_WORK" 161 PROBLEMTYPE_OTHERS ProblemType = "OTHERS" 162) 163 164type UserTag string 165 166func (e UserTag) Ptr() *UserTag { 167 return &e 168} 169 170const ( 171 USERTAG_TRUSTED UserTag = "TRUSTED" 172 USERTAG_HIGH_RISK UserTag = "HIGH_RISK" 173) 174 175type ServiceOrderInfo struct { 176 OrderId *string `json:"order_id,omitempty"` 177 OutOrderNo *string `json:"out_order_no,omitempty"` 178 State *ServiceOrderState `json:"state,omitempty"` 179} 180 181type AdditionalInfo struct { 182 Type *AdditionalType `json:"type,omitempty"` 183 SharePowerInfo *SharePowerInfo `json:"share_power_info,omitempty"` 184} 185 186type ComplaintMediaType string 187 188func (e ComplaintMediaType) Ptr() *ComplaintMediaType { 189 return &e 190} 191 192const ( 193 COMPLAINTMEDIATYPE_USER_COMPLAINT_IMAGE ComplaintMediaType = "USER_COMPLAINT_IMAGE" 194 COMPLAINTMEDIATYPE_OPERATION_IMAGE ComplaintMediaType = "OPERATION_IMAGE" 195) 196 197type ServiceOrderState string 198 199func (e ServiceOrderState) Ptr() *ServiceOrderState { 200 return &e 201} 202 203const ( 204 SERVICEORDERSTATE_DOING ServiceOrderState = "DOING" 205 SERVICEORDERSTATE_REVOKED ServiceOrderState = "REVOKED" 206 SERVICEORDERSTATE_WAITPAY ServiceOrderState = "WAITPAY" 207 SERVICEORDERSTATE_DONE ServiceOrderState = "DONE" 208) 209 210type AdditionalType string 211 212func (e AdditionalType) Ptr() *AdditionalType { 213 return &e 214} 215 216const ( 217 ADDITIONALTYPE_SHARE_POWER_TYPE AdditionalType = "SHARE_POWER_TYPE" 218) 219 220type SharePowerInfo struct { 221 ReturnTime *string `json:"return_time,omitempty"` 222 ReturnAddressInfo *ReturnAddressInfo `json:"return_address_info,omitempty"` 223 IsReturnedToSameMachine *bool `json:"is_returned_to_same_machine,omitempty"` 224} 225 226type ReturnAddressInfo struct { 227 ReturnAddress *string `json:"return_address,omitempty"` 228 Longitude *string `json:"longitude,omitempty"` 229 Latitude *string `json:"latitude,omitempty"` 230} 231
应答参数
200 OK
complaint_id 必填 string(64)
【投诉单号】 投诉单对应的投诉单号
complaint_time 必填 string(32)
【投诉时间】 投诉时间
complaint_detail 必填 string(300)
【投诉详情】 投诉的具体描述
complaint_state 必填 string(30)
【投诉单状态】 标识当前投诉单所处的处理阶段,具体状态如下所示:
PENDING-待处理
PROCESSING-处理中
PROCESSED-已处理完成
complainted_mchid 必填 string(64)
【被诉商户号】 当服务商或渠道商查询时返回,具体的子商户标识。
payer_phone 选填 string(512)
【投诉人联系方式】 投诉人联系方式。该字段已做加密处理,具体解密方法详见如何使用API证书解密敏感字段
payer_openid 选填 string(128)
【投诉人OpenID】 投诉人在商户AppID下的唯一标识,支付分服务单类型无
complaint_order_info 选填 array[object]
【投诉单关联订单信息】 投诉单关联订单信息
| 属性 | |
transaction_id 必填 string(64) 【微信订单号】 投诉单关联的微信订单号 out_trade_no 必填 string(64) 【商户订单号】 投诉单关联的商户订单号 amount 必填 integer 【订单金额】 订单金额,单位(分) |
complaint_full_refunded 必填 boolean
【投诉单是否已全额退款】 投诉单下所有订单是否已全部全额退款
incoming_user_response 必填 boolean
【是否有待回复的用户留言】 投诉单是否有待回复的用户留言
user_complaint_times 必填 integer
【用户投诉次数】 用户投诉次数。用户首次发起投诉记为1次,用户每有一次继续投诉就加1
complaint_media_list 选填 array[object]
【投诉资料列表】 用户上传的投诉相关资料,包括图片凭证等
| 属性 | |
media_type 必填 string 【媒体文件业务类型】 媒体文件对应的业务类型 可选取值
media_url 必填 array[string(512)] 【媒体文件请求url】 微信返回的媒体文件请求url,详细调用请参考:图片请求接口 |
problem_description 必填 string(256)
【问题描述】 用户发起投诉前选择的faq标题(2021年7月15日之后的投诉单均包含此信息)
problem_type 选填 string
【问题类型】 问题类型为申请退款的单据是需要最高优先处理的单据
可选取值
REFUND: 申请退款SERVICE_NOT_WORK: 服务权益未生效OTHERS: 其他类型
apply_refund_amount 选填 integer
【申请退款金额】 仅当问题类型为申请退款时, 有值, (单位:分)
user_tag_list 选填 array[string]
【用户标签列表】 用户标签列表
可选取值
TRUSTED: 此类用户满足极速退款条件HIGH_RISK: 高风险投诉,请按照运营要求优先妥善处理
service_order_info 选填 array[object]
【投诉单关联服务单信息】
| 属性 | |
order_id 选填 string(128) 【微信支付服务订单号】 微信支付服务订单号,每个微信支付服务订单号与商户号下对应的商户服务订单号一一对应 out_order_no 选填 string(128) 【商户服务订单号】 商户系统内部服务订单号(不是交易单号),与创建订单时一致 state 选填 string 【支付分服务单状态】 此处上传的是用户发起投诉时的服务单状态,不会实时更新 可选取值
|
additional_info 选填 object
【补充信息】 用在特定行业或场景下返回的补充信息
| 属性 | |||||||||
type 选填 string 【补充信息类型】 补充信息类型 可选取值
share_power_info 选填 object 【充电宝投诉相关信息】 当type为充电宝投诉相关时有值
|
in_platform_service 选填 boolean
【是否在平台协助中】 标识当前投诉单是否正处在平台协助流程中。注:在协助期间由微信支付客服为用户服务,期间商户向用户发送的留言用户不可见
need_immediate_service 选填 boolean
【是否需即时服务用户】 因用户诉求紧急度、用户界面差异等因素,部分投诉单建议商户更即时地响应用户诉求。如此处标识为“是”,建议商户提升服务时效,给用户带来更好的体验
is_agent_mode 选填 boolean
【是否是智能体投诉】 对接商家智能体的商户,用户针对某笔订单下的智能服务质量产生投诉,商户需要结合投诉内容,在智能体服务内更加及时、妥善地服务用户
应答示例
200 OK
1{ 2 "complaint_id" : "200201820200101080076610000", 3 "complaint_time" : "2015-05-20T13:29:35.120+08:00", 4 "complaint_detail" : "反馈一个重复扣费的问题", 5 "complaint_state" : "PENDING", 6 "complainted_mchid" : "1900012181", 7 "payer_phone" : "18500000000", 8 "payer_openid" : "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", 9 "complaint_order_info" : [ 10 { 11 "transaction_id" : "4200000404201909069117582536", 12 "out_trade_no" : "20190906154617947762231", 13 "amount" : 3 14 } 15 ], 16 "complaint_full_refunded" : true, 17 "incoming_user_response" : true, 18 "user_complaint_times" : 1, 19 "complaint_media_list" : [ 20 { 21 "media_type" : "USER_COMPLAINT_IMAGE", 22 "media_url" : [ 23 "https://api.mch.weixin.qq.com/v3/merchant-service/images/xxxxx" 24 ] 25 } 26 ], 27 "problem_description" : "不满意商家服务", 28 "problem_type" : "REFUND", 29 "apply_refund_amount" : 10, 30 "user_tag_list" : [ 31 "TRUSTED" 32 ], 33 "service_order_info" : [ 34 { 35 "order_id" : "15646546545165651651", 36 "out_order_no" : "1234323JKHDFE1243252", 37 "state" : "DOING" 38 } 39 ], 40 "additional_info" : { 41 "type" : "SHARE_POWER_TYPE", 42 "share_power_info" : { 43 "return_time" : "2015-05-20T13:29:35+08:00", 44 "return_address_info" : { 45 "return_address" : "广东省深圳市南山区海天二路南山区后海腾讯滨海大厦(海天二路西)", 46 "longitude" : "113.93535488533665", 47 "latitude" : "22.52305518747831" 48 }, 49 "is_returned_to_same_machine" : false 50 } 51 }, 52 "in_platform_service" : true, 53 "need_immediate_service" : true, 54 "is_agent_mode" : true 55} 56
错误码
以下是本接口返回的错误码列表。详细错误码规则,请参考微信支付接口规则-错误码和错误提示
