查询投诉单详情
更新时间: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/merchant/4014931831 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/merchant/4013070756 32 QueryComplaintV2 client = new QueryComplaintV2( 33 "19xxxxxxxx", // 商户号,是由微信支付系统生成并分配给每个商户的唯一标识符,商户号获取方式参考 https://pay.weixin.qq.com/doc/v3/merchant/4013070756 34 "1DDE55AD98Exxxxxxxxxx", // 商户API证书序列号,如何获取请参考 https://pay.weixin.qq.com/doc/v3/merchant/4013053053 35 "/path/to/apiclient_key.pem" // 商户API证书私钥文件路径,本地文件路径 36 , 37 "PUB_KEY_ID_xxxxxxxxxxxxx", // 微信支付公钥ID,如何获取请参考 https://pay.weixin.qq.com/doc/v3/merchant/4013038816 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("payer_phone") 117 public String payerPhone; 118 119 @SerializedName("payer_openid") 120 public String payerOpenid; 121 122 @SerializedName("complaint_order_info") 123 public List<ComplaintOrderInfo> complaintOrderInfo; 124 125 @SerializedName("complaint_full_refunded") 126 public Boolean complaintFullRefunded; 127 128 @SerializedName("incoming_user_response") 129 public Boolean incomingUserResponse; 130 131 @SerializedName("user_complaint_times") 132 public Long userComplaintTimes; 133 134 @SerializedName("complaint_media_list") 135 public List<ComplaintMedia> complaintMediaList; 136 137 @SerializedName("problem_description") 138 public String problemDescription; 139 140 @SerializedName("problem_type") 141 public ProblemType problemType; 142 143 @SerializedName("apply_refund_amount") 144 public Long applyRefundAmount; 145 146 @SerializedName("user_tag_list") 147 public List<UserTag> userTagList; 148 149 @SerializedName("service_order_info") 150 public List<ServiceOrderInfo> serviceOrderInfo; 151 152 @SerializedName("additional_info") 153 public AdditionalInfo additionalInfo; 154 155 @SerializedName("in_platform_service") 156 public Boolean inPlatformService; 157 158 @SerializedName("need_immediate_service") 159 public Boolean needImmediateService; 160 } 161 162 public static class ComplaintOrderInfo { 163 @SerializedName("transaction_id") 164 public String transactionId; 165 166 @SerializedName("out_trade_no") 167 public String outTradeNo; 168 169 @SerializedName("amount") 170 public Long amount; 171 } 172 173 public static class ComplaintMedia { 174 @SerializedName("media_type") 175 public ComplaintMediaType mediaType; 176 177 @SerializedName("media_url") 178 public List<String> mediaUrl = new ArrayList<String>(); 179 } 180 181 public enum ProblemType { 182 @SerializedName("REFUND") 183 REFUND, 184 @SerializedName("SERVICE_NOT_WORK") 185 SERVICE_NOT_WORK, 186 @SerializedName("OTHERS") 187 OTHERS 188 } 189 190 public enum UserTag { 191 @SerializedName("TRUSTED") 192 TRUSTED, 193 @SerializedName("HIGH_RISK") 194 HIGH_RISK 195 } 196 197 public static class ServiceOrderInfo { 198 @SerializedName("order_id") 199 public String orderId; 200 201 @SerializedName("out_order_no") 202 public String outOrderNo; 203 204 @SerializedName("state") 205 public ServiceOrderState state; 206 } 207 208 public static class AdditionalInfo { 209 @SerializedName("type") 210 public AdditionalType type; 211 212 @SerializedName("share_power_info") 213 public SharePowerInfo sharePowerInfo; 214 } 215 216 public enum ComplaintMediaType { 217 @SerializedName("USER_COMPLAINT_IMAGE") 218 USER_COMPLAINT_IMAGE, 219 @SerializedName("OPERATION_IMAGE") 220 OPERATION_IMAGE 221 } 222 223 public enum ServiceOrderState { 224 @SerializedName("DOING") 225 DOING, 226 @SerializedName("REVOKED") 227 REVOKED, 228 @SerializedName("WAITPAY") 229 WAITPAY, 230 @SerializedName("DONE") 231 DONE 232 } 233 234 public enum AdditionalType { 235 @SerializedName("SHARE_POWER_TYPE") 236 SHARE_POWER_TYPE 237 } 238 239 public static class SharePowerInfo { 240 @SerializedName("return_time") 241 public String returnTime; 242 243 @SerializedName("return_address_info") 244 public ReturnAddressInfo returnAddressInfo; 245 246 @SerializedName("is_returned_to_same_machine") 247 public Boolean isReturnedToSameMachine; 248 } 249 250 public static class ReturnAddressInfo { 251 @SerializedName("return_address") 252 public String returnAddress; 253 254 @SerializedName("longitude") 255 public String longitude; 256 257 @SerializedName("latitude") 258 public String latitude; 259 } 260 261} 262
需配合微信支付工具库 wxpay_utility 使用,请参考 Go
1package main 2 3import ( 4 "demo/wxpay_utility" // 引用微信支付工具库,参考 https://pay.weixin.qq.com/doc/v3/merchant/4015119334 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/merchant/4013070756 14 config, err := wxpay_utility.CreateMchConfig( 15 "19xxxxxxxx", // 商户号,是由微信支付系统生成并分配给每个商户的唯一标识符,商户号获取方式参考 https://pay.weixin.qq.com/doc/v3/merchant/4013070756 16 "1DDE55AD98Exxxxxxxxxx", // 商户API证书序列号,如何获取请参考 https://pay.weixin.qq.com/doc/v3/merchant/4013053053 17 "/path/to/apiclient_key.pem", // 商户API证书私钥文件路径,本地文件路径 18 "PUB_KEY_ID_xxxxxxxxxxxxx", // 微信支付公钥ID,如何获取请参考 https://pay.weixin.qq.com/doc/v3/merchant/4013038816 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 PayerPhone *string `json:"payer_phone,omitempty"` 123 PayerOpenid *string `json:"payer_openid,omitempty"` 124 ComplaintOrderInfo []ComplaintOrderInfo `json:"complaint_order_info,omitempty"` 125 ComplaintFullRefunded *bool `json:"complaint_full_refunded,omitempty"` 126 IncomingUserResponse *bool `json:"incoming_user_response,omitempty"` 127 UserComplaintTimes *int64 `json:"user_complaint_times,omitempty"` 128 ComplaintMediaList []ComplaintMedia `json:"complaint_media_list,omitempty"` 129 ProblemDescription *string `json:"problem_description,omitempty"` 130 ProblemType *ProblemType `json:"problem_type,omitempty"` 131 ApplyRefundAmount *int64 `json:"apply_refund_amount,omitempty"` 132 UserTagList []UserTag `json:"user_tag_list,omitempty"` 133 ServiceOrderInfo []ServiceOrderInfo `json:"service_order_info,omitempty"` 134 AdditionalInfo *AdditionalInfo `json:"additional_info,omitempty"` 135 InPlatformService *bool `json:"in_platform_service,omitempty"` 136 NeedImmediateService *bool `json:"need_immediate_service,omitempty"` 137} 138 139type ComplaintOrderInfo struct { 140 TransactionId *string `json:"transaction_id,omitempty"` 141 OutTradeNo *string `json:"out_trade_no,omitempty"` 142 Amount *int64 `json:"amount,omitempty"` 143} 144 145type ComplaintMedia struct { 146 MediaType *ComplaintMediaType `json:"media_type,omitempty"` 147 MediaUrl []string `json:"media_url,omitempty"` 148} 149 150type ProblemType string 151 152func (e ProblemType) Ptr() *ProblemType { 153 return &e 154} 155 156const ( 157 PROBLEMTYPE_REFUND ProblemType = "REFUND" 158 PROBLEMTYPE_SERVICE_NOT_WORK ProblemType = "SERVICE_NOT_WORK" 159 PROBLEMTYPE_OTHERS ProblemType = "OTHERS" 160) 161 162type UserTag string 163 164func (e UserTag) Ptr() *UserTag { 165 return &e 166} 167 168const ( 169 USERTAG_TRUSTED UserTag = "TRUSTED" 170 USERTAG_HIGH_RISK UserTag = "HIGH_RISK" 171) 172 173type ServiceOrderInfo struct { 174 OrderId *string `json:"order_id,omitempty"` 175 OutOrderNo *string `json:"out_order_no,omitempty"` 176 State *ServiceOrderState `json:"state,omitempty"` 177} 178 179type AdditionalInfo struct { 180 Type *AdditionalType `json:"type,omitempty"` 181 SharePowerInfo *SharePowerInfo `json:"share_power_info,omitempty"` 182} 183 184type ComplaintMediaType string 185 186func (e ComplaintMediaType) Ptr() *ComplaintMediaType { 187 return &e 188} 189 190const ( 191 COMPLAINTMEDIATYPE_USER_COMPLAINT_IMAGE ComplaintMediaType = "USER_COMPLAINT_IMAGE" 192 COMPLAINTMEDIATYPE_OPERATION_IMAGE ComplaintMediaType = "OPERATION_IMAGE" 193) 194 195type ServiceOrderState string 196 197func (e ServiceOrderState) Ptr() *ServiceOrderState { 198 return &e 199} 200 201const ( 202 SERVICEORDERSTATE_DOING ServiceOrderState = "DOING" 203 SERVICEORDERSTATE_REVOKED ServiceOrderState = "REVOKED" 204 SERVICEORDERSTATE_WAITPAY ServiceOrderState = "WAITPAY" 205 SERVICEORDERSTATE_DONE ServiceOrderState = "DONE" 206) 207 208type AdditionalType string 209 210func (e AdditionalType) Ptr() *AdditionalType { 211 return &e 212} 213 214const ( 215 ADDITIONALTYPE_SHARE_POWER_TYPE AdditionalType = "SHARE_POWER_TYPE" 216) 217 218type SharePowerInfo struct { 219 ReturnTime *string `json:"return_time,omitempty"` 220 ReturnAddressInfo *ReturnAddressInfo `json:"return_address_info,omitempty"` 221 IsReturnedToSameMachine *bool `json:"is_returned_to_same_machine,omitempty"` 222} 223 224type ReturnAddressInfo struct { 225 ReturnAddress *string `json:"return_address,omitempty"` 226 Longitude *string `json:"longitude,omitempty"` 227 Latitude *string `json:"latitude,omitempty"` 228} 229
应答参数
200 OK
complaint_id 必填 string(64)
【投诉单号】 投诉单对应的投诉单号
complaint_time 必填 string(32)
【投诉时间】 投诉时间
complaint_detail 必填 string(300)
【投诉详情】 投诉的具体描述
complaint_state 必填 string(30)
【投诉单状态】 标识当前投诉单所处的处理阶段,具体状态如下所示:
PENDING-待处理
PROCESSING-处理中
PROCESSED-已处理完成
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 "payer_phone" : "18500000000", 7 "payer_openid" : "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", 8 "complaint_order_info" : [ 9 { 10 "transaction_id" : "4200000404201909069117582536", 11 "out_trade_no" : "20190906154617947762231", 12 "amount" : 3 13 } 14 ], 15 "complaint_full_refunded" : true, 16 "incoming_user_response" : true, 17 "user_complaint_times" : 1, 18 "complaint_media_list" : [ 19 { 20 "media_type" : "USER_COMPLAINT_IMAGE", 21 "media_url" : [ 22 "https://api.mch.weixin.qq.com/v3/merchant-service/images/xxxxx" 23 ] 24 } 25 ], 26 "problem_description" : "不满意商家服务", 27 "problem_type" : "REFUND", 28 "apply_refund_amount" : 10, 29 "user_tag_list" : [ 30 "TRUSTED" 31 ], 32 "service_order_info" : [ 33 { 34 "order_id" : "15646546545165651651", 35 "out_order_no" : "1234323JKHDFE1243252", 36 "state" : "DOING" 37 } 38 ], 39 "additional_info" : { 40 "type" : "SHARE_POWER_TYPE", 41 "share_power_info" : { 42 "return_time" : "2015-05-20T13:29:35+08:00", 43 "return_address_info" : { 44 "return_address" : "广东省深圳市南山区海天二路南山区后海腾讯滨海大厦(海天二路西)", 45 "longitude" : "113.93535488533665", 46 "latitude" : "22.52305518747831" 47 }, 48 "is_returned_to_same_machine" : false 49 } 50 }, 51 "in_platform_service" : true, 52 "need_immediate_service" : true 53} 54
错误码
公共错误码
状态码 | 错误码 | 描述 | 解决方案 |
---|---|---|---|
400 | PARAM_ERROR | 参数错误 | 请根据错误提示正确传入参数 |
400 | INVALID_REQUEST | HTTP 请求不符合微信支付 APIv3 接口规则 | 请参阅 接口规则 |
401 | SIGN_ERROR | 验证不通过 | 请参阅 签名常见问题 |
500 | SYSTEM_ERROR | 系统异常,请稍后重试 | 请稍后重试 |