微信和支付宝回复或留言接口
请求方式 | body | 编码 | 接口地址 |
POST | application/json | UTF-8 | 集测:https://mchapitest.shengpay.com/order/complaint/submitResponse 生产:https://mchapi.shengpay.com/order/complaint/submitResponse |
请求参数
变量名 | 类型 | 必填 | 示例值 | 描述 |
mchId | String(16) | Y | 93751497 | 商户号(如果有subMchId,一定要存在代理关系) |
subMchId | String(16) | N | | 子商户号 |
complaintId | String | Y | ASDF2342423432 | 投诉ID |
responseContent | String | N | | 回复内容 |
responseImages | JSONArrayString | N | false | 回复图片,图片上传 (见图片上传) |
jumpUrl | String | N | | 跳转链接-微信支持-需要商户申请权限 |
jumpUrlText | String | N | | 跳转链接文案-微信支持 |
bussiHandle | String | N | | 和解状态 1:和解 2:拒绝和解(微信小程序需要) |
| nonceStr | String(32) | Y | | 随机字符串 | | signType | String | Y | RSA | 签名类型 | | Sign | String | Y | | 签名 (见签名介绍) |
1
2
3
4
5
6
7
8
9
10
11
12 | {
"mchId": "93751497",
"subMchId": "93751497",
"nonceStr": "LsLFojFEdOuvFCvEzsJOcNUk1JNX1Nb6",
"complaintId": "1602834549305",
"responseContent": "已处理退款",
"responseImages": "[\"http://10.132.81.189:8085/ftprest/MerchantCerti/idcards/714481msp/201907/CPM201907170001068_17150316.jpg\", \"http://10.132.81.189:8085/ftprest/MerchantCerti/zf1561/20240307/972556453963890688.PNG\",\"http://10.132.81.189:8085/ftprest/MerchantCerti/zf1561/20240307/972556466915901440.PNG\",\"http://10.132.81.189:8085/ftprest/MerchantCerti/zf1561/20240307/972556477493936128.PNG\"]",
"jumpUrl": "",
"jumpUrlText": "",
"sign": "V/3/D9LRvX32uycrgEUwAUOWSPPAybg4XcoNJ+pQYnVFtRv8f+2zB5pQshk8xpvnoIXgc9xuVpCegz5E1PHNZ4Vdc739qVhX2AFlpHdTTJwmiwiaIwaLKSf8sGLz3qxrTuJHCMHh3GtjXc++CQfU3eZM5wBKRY+nWIe3c3J7X7IBdanMWzvXqOHRheIL0Cx4vUyzVjWSUwO9CMABw7PmVNHOGOmkD20Rk8xKc8fjQ7cG3+lYjhXefyAubJWS01uvwdWOeRWPuFy9Cn6DYql/GCYDjA8ppJbRsqOrOm2qmwkIqBnjc1QWUudQ2lFtqnstpJJWc5izlgMI8my+5mNzZQ==",
"signType": "RSA"
}
|
响应参数
变量名 | 类型 | 必填 | 示例值 | 描述 |
returnCode | String | Y | SUCCESS | 返回码(SUCCESS/FAIL) |
returnMsg | String | N | | 返回消息(当returnCode为FAIL时使用) |
resultCode | String | Y | SUCCESS | 业务结果(SUCCESS/FAIL) |
errorCode | String | N | | 错误代码(当resultCode为FAIL时使用) |
errorCodeDes | String | N | | 错误描述(当resultCode为FAIL时使用) |
响应示例
| {
"returnCode" : "SUCCESS",
"resultCode" : "SUCCESS",
}
|