退分账结果通知
请求方式 | body | 编码 |
POST | application/json | UTF-8 |
通知确认:如果确认本次通知结果直接response返回SUCCESS,返回非SUCCESS,将会持续接收相同通知,累计10次,逐步增加每次通知间隔
通知参数
变量名 | 类型 | 必填 | 示例值 | 描述 |
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时使用) |
mchId | String(10) | N | | 商户号 |
mchSharingNo | String(64) | N | | 商户分账单号 |
returnNo | String(64) | N | | 盛付通回退单号 |
mchReturnNo | String(64) | N | | 商户回退单号 |
returnStatus | String(10) | N | SUCCESS | 回退方类型,回退状态 SUCCESS-成功 FAIL-失败 |
returnReceiverType | String(16) | Y | B | B商户,C钱包会员 |
returnReceiverId | String(64) | Y | 44541649 | 回退方类型是B时,是商户号 回退方类型是C时,是钱包会员unionId |
returnAmount | int | N | | 回退金额,单位分 |
finishTime | String(32) | N | 20200908182244 | 回退完成时间 |
failReason | String(64) | N | | 失败原因,仅在失败有值 |
nonceStr | String | Y | nGBXiNhZjBaFrMGIJAKJQQpfNiSGVjzy | 随机字符串 |
signType | String | Y | RSA | 签名方式 |
sign | String | Y | | 签名 |
通知示例
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | {
"resultCode": "SUCCESS",
"returnCode": "SUCCESS",
"returnMsg": "OK",
"mchId": "88021534",
"mchSharingNo": "1627883616",
"returnStatus": "SUCCESS",
"finishTime": "20210802135458",
"mchReturnNo": "1627883697",
"returnNo": "R628953070625619968",
"returnReceiverType": "B",
"returnReceiverId": "88021534",
"returnAmount": 10,
"sign": "XyIoxGodrNZqsPE6xut9Yd0Pq5sk1VBkKAb7McrBgRtJr7R83u3n5ckTZByn4rxXUglViO3EYA8sYCWl54nNQf+5AVluJIZu5BmO6rZLxtgcCE2ismw3nqTX880RK/E+HtFHnpBqyf14ua5+MQ1gvt0r+klql7/+Osu3QF9LtGk=",
"signType": "RSA",
"nonceStr": "iuwYIztuezXtzoJmRfsDZKhsFTxOuznj"
}
|