查询投诉单详情
更新时间: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 , 37 "PUB_KEY_ID_xxxxxxxxxxxxx", // 微信支付公钥ID,如何获取请参考 https://pay.weixin.qq.com/doc/v3/partner/4013038589 38 "/path/to/wxp_pub.pem" // 微信支付公钥文件路径,本地文件路径 39 ); 40 41 QueryComplaintV2Request request = new QueryComplaintV2Request(); 42 request.complaintId = "200201820200101080076610000"; 43 try { 44 ComplaintInfo response = client.run(request); 45 // TODO: 请求成功,继续业务逻辑 46 System.out.println(response); 47 } catch (WXPayUtility.ApiException e) { 48 // TODO: 请求失败,根据状态码执行不同的逻辑 49 e.printStackTrace(); 50 } 51 } 52 53 public ComplaintInfo run(QueryComplaintV2Request request) { 54 String uri = PATH; 55 uri = uri.replace("{complaint_id}", WXPayUtility.urlEncode(request.complaintId)); 56 57 Request.Builder reqBuilder = new Request.Builder().url(HOST + uri); 58 reqBuilder.addHeader("Accept", "application/json"); 59 reqBuilder.addHeader("Wechatpay-Serial", wechatPayPublicKeyId); 60 reqBuilder.addHeader("Authorization", WXPayUtility.buildAuthorization(mchid, certificateSerialNo, privateKey, METHOD, uri, null)); 61 reqBuilder.method(METHOD, null); 62 Request httpRequest = reqBuilder.build(); 63 64 // 发送HTTP请求 65 OkHttpClient client = new OkHttpClient.Builder().build(); 66 try (Response httpResponse = client.newCall(httpRequest).execute()) { 67 String respBody = WXPayUtility.extractBody(httpResponse); 68 if (httpResponse.code() >= 200 && httpResponse.code() < 300) { 69 // 2XX 成功,验证应答签名 70 WXPayUtility.validateResponse(this.wechatPayPublicKeyId, this.wechatPayPublicKey, 71 httpResponse.headers(), respBody); 72 73 // 从HTTP应答报文构建返回数据 74 return WXPayUtility.fromJson(respBody, ComplaintInfo.class); 75 } else { 76 throw new WXPayUtility.ApiException(httpResponse.code(), respBody, httpResponse.headers()); 77 } 78 } catch (IOException e) { 79 throw new UncheckedIOException("Sending request to " + uri + " failed.", e); 80 } 81 } 82 83 private final String mchid; 84 private final String certificateSerialNo; 85 private final PrivateKey privateKey; 86 private final String wechatPayPublicKeyId; 87 private final PublicKey wechatPayPublicKey; 88 89 public QueryComplaintV2(String mchid, String certificateSerialNo, String privateKeyFilePath, String wechatPayPublicKeyId, String wechatPayPublicKeyFilePath) { 90 this.mchid = mchid; 91 this.certificateSerialNo = certificateSerialNo; 92 this.privateKey = WXPayUtility.loadPrivateKeyFromPath(privateKeyFilePath); 93 this.wechatPayPublicKeyId = wechatPayPublicKeyId; 94 this.wechatPayPublicKey = WXPayUtility.loadPublicKeyFromPath(wechatPayPublicKeyFilePath); 95 } 96 97 public static class QueryComplaintV2Request { 98 @SerializedName("complaint_id") 99 @Expose(serialize = false) 100 public String complaintId; 101 } 102 103 public static class ComplaintInfo { 104 @SerializedName("complaint_id") 105 public String complaintId; 106 107 @SerializedName("complaint_time") 108 public String complaintTime; 109 110 @SerializedName("complaint_detail") 111 public String complaintDetail; 112 113 @SerializedName("complaint_state") 114 public String complaintState; 115 116 @SerializedName("complainted_mchid") 117 public String complaintedMchid; 118 119 @SerializedName("payer_phone") 120 public String payerPhone; 121 122 @SerializedName("payer_openid") 123 public String payerOpenid; 124 125 @SerializedName("complaint_order_info") 126 public List<ComplaintOrderInfo> complaintOrderInfo; 127 128 @SerializedName("complaint_full_refunded") 129 public Boolean complaintFullRefunded; 130 131 @SerializedName("incoming_user_response") 132 public Boolean incomingUserResponse; 133 134 @SerializedName("user_complaint_times") 135 public Long userComplaintTimes; 136 137 @SerializedName("complaint_media_list") 138 public List<ComplaintMedia> complaintMediaList; 139 140 @SerializedName("problem_description") 141 public String problemDescription; 142 143 @SerializedName("problem_type") 144 public ProblemType problemType; 145 146 @SerializedName("apply_refund_amount") 147 public Long applyRefundAmount; 148 149 @SerializedName("user_tag_list") 150 public List<UserTag> userTagList; 151 152 @SerializedName("service_order_info") 153 public List<ServiceOrderInfo> serviceOrderInfo; 154 155 @SerializedName("additional_info") 156 public AdditionalInfo additionalInfo; 157 158 @SerializedName("in_platform_service") 159 public Boolean inPlatformService; 160 161 @SerializedName("need_immediate_service") 162 public Boolean needImmediateService; 163 } 164 165 public static class ComplaintOrderInfo { 166 @SerializedName("transaction_id") 167 public String transactionId; 168 169 @SerializedName("out_trade_no") 170 public String outTradeNo; 171 172 @SerializedName("amount") 173 public Long amount; 174 } 175 176 public static class ComplaintMedia { 177 @SerializedName("media_type") 178 public ComplaintMediaType mediaType; 179 180 @SerializedName("media_url") 181 public List<String> mediaUrl = new ArrayList<String>(); 182 } 183 184 public enum ProblemType { 185 @SerializedName("REFUND") 186 REFUND, 187 @SerializedName("SERVICE_NOT_WORK") 188 SERVICE_NOT_WORK, 189 @SerializedName("OTHERS") 190 OTHERS 191 } 192 193 public enum UserTag { 194 @SerializedName("TRUSTED") 195 TRUSTED, 196 @SerializedName("HIGH_RISK") 197 HIGH_RISK 198 } 199 200 public static class ServiceOrderInfo { 201 @SerializedName("order_id") 202 public String orderId; 203 204 @SerializedName("out_order_no") 205 public String outOrderNo; 206 207 @SerializedName("state") 208 public ServiceOrderState state; 209 } 210 211 public static class AdditionalInfo { 212 @SerializedName("type") 213 public AdditionalType type; 214 215 @SerializedName("share_power_info") 216 public SharePowerInfo sharePowerInfo; 217 } 218 219 public enum ComplaintMediaType { 220 @SerializedName("USER_COMPLAINT_IMAGE") 221 USER_COMPLAINT_IMAGE, 222 @SerializedName("OPERATION_IMAGE") 223 OPERATION_IMAGE 224 } 225 226 public enum ServiceOrderState { 227 @SerializedName("DOING") 228 DOING, 229 @SerializedName("REVOKED") 230 REVOKED, 231 @SerializedName("WAITPAY") 232 WAITPAY, 233 @SerializedName("DONE") 234 DONE 235 } 236 237 public enum AdditionalType { 238 @SerializedName("SHARE_POWER_TYPE") 239 SHARE_POWER_TYPE 240 } 241 242 public static class SharePowerInfo { 243 @SerializedName("return_time") 244 public String returnTime; 245 246 @SerializedName("return_address_info") 247 public ReturnAddressInfo returnAddressInfo; 248 249 @SerializedName("is_returned_to_same_machine") 250 public Boolean isReturnedToSameMachine; 251 } 252 253 public static class ReturnAddressInfo { 254 @SerializedName("return_address") 255 public String returnAddress; 256 257 @SerializedName("longitude") 258 public String longitude; 259 260 @SerializedName("latitude") 261 public String latitude; 262 } 263 264} 265
需配合微信支付工具库 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} 139 140type ComplaintOrderInfo struct { 141 TransactionId *string `json:"transaction_id,omitempty"` 142 OutTradeNo *string `json:"out_trade_no,omitempty"` 143 Amount *int64 `json:"amount,omitempty"` 144} 145 146type ComplaintMedia struct { 147 MediaType *ComplaintMediaType `json:"media_type,omitempty"` 148 MediaUrl []string `json:"media_url,omitempty"` 149} 150 151type ProblemType string 152 153func (e ProblemType) Ptr() *ProblemType { 154 return &e 155} 156 157const ( 158 PROBLEMTYPE_REFUND ProblemType = "REFUND" 159 PROBLEMTYPE_SERVICE_NOT_WORK ProblemType = "SERVICE_NOT_WORK" 160 PROBLEMTYPE_OTHERS ProblemType = "OTHERS" 161) 162 163type UserTag string 164 165func (e UserTag) Ptr() *UserTag { 166 return &e 167} 168 169const ( 170 USERTAG_TRUSTED UserTag = "TRUSTED" 171 USERTAG_HIGH_RISK UserTag = "HIGH_RISK" 172) 173 174type ServiceOrderInfo struct { 175 OrderId *string `json:"order_id,omitempty"` 176 OutOrderNo *string `json:"out_order_no,omitempty"` 177 State *ServiceOrderState `json:"state,omitempty"` 178} 179 180type AdditionalInfo struct { 181 Type *AdditionalType `json:"type,omitempty"` 182 SharePowerInfo *SharePowerInfo `json:"share_power_info,omitempty"` 183} 184 185type ComplaintMediaType string 186 187func (e ComplaintMediaType) Ptr() *ComplaintMediaType { 188 return &e 189} 190 191const ( 192 COMPLAINTMEDIATYPE_USER_COMPLAINT_IMAGE ComplaintMediaType = "USER_COMPLAINT_IMAGE" 193 COMPLAINTMEDIATYPE_OPERATION_IMAGE ComplaintMediaType = "OPERATION_IMAGE" 194) 195 196type ServiceOrderState string 197 198func (e ServiceOrderState) Ptr() *ServiceOrderState { 199 return &e 200} 201 202const ( 203 SERVICEORDERSTATE_DOING ServiceOrderState = "DOING" 204 SERVICEORDERSTATE_REVOKED ServiceOrderState = "REVOKED" 205 SERVICEORDERSTATE_WAITPAY ServiceOrderState = "WAITPAY" 206 SERVICEORDERSTATE_DONE ServiceOrderState = "DONE" 207) 208 209type AdditionalType string 210 211func (e AdditionalType) Ptr() *AdditionalType { 212 return &e 213} 214 215const ( 216 ADDITIONALTYPE_SHARE_POWER_TYPE AdditionalType = "SHARE_POWER_TYPE" 217) 218 219type SharePowerInfo struct { 220 ReturnTime *string `json:"return_time,omitempty"` 221 ReturnAddressInfo *ReturnAddressInfo `json:"return_address_info,omitempty"` 222 IsReturnedToSameMachine *bool `json:"is_returned_to_same_machine,omitempty"` 223} 224 225type ReturnAddressInfo struct { 226 ReturnAddress *string `json:"return_address,omitempty"` 227 Longitude *string `json:"longitude,omitempty"` 228 Latitude *string `json:"latitude,omitempty"` 229} 230
应答参数
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
【是否需即时服务用户】 因用户诉求紧急度、用户界面差异等因素,部分投诉单建议商户更即时地响应用户诉求。如此处标识为“是”,建议商户提升服务时效,给用户带来更好的体验
应答示例
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} 55
错误码
公共错误码
状态码 | 错误码 | 描述 | 解决方案 |
---|---|---|---|
400 | PARAM_ERROR | 参数错误 | 请根据错误提示正确传入参数 |
400 | INVALID_REQUEST | HTTP 请求不符合微信支付 APIv3 接口规则 | 请参阅 接口规则 |
401 | SIGN_ERROR | 验证不通过 | 请参阅 签名常见问题 |
500 | SYSTEM_ERROR | 系统异常,请稍后重试 | 请稍后重试 |