退款结果通知
请求方式 | 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(16) | Y | 93751497 | 商户号 |
appId | String(32) | Y | djgeiq978y933 | 应用标识 |
transactionId | String(32) | Y | djgeC2110160000000091672iq978y933 | 盛付通订单号 |
outTradeNo | String(32) | Y | 1602835300345 | 商户订单号 |
totalFee | int | Y | 1000 | 订单总金额(单位:分) |
settlementTotalFee | int | Y | 1000 | 实际结算金额(单位:分) |
refundChannel | String(32) | Y | ORIGINAL | 退款渠道 |
refundId | String(32) | Y | RO2110160000000014290 | 盛付通退款订单号 |
refundFee | int | Y | 1000 | 退款金额(单位:分) |
refundStatus | String(16) | Y | | 订单状态(见订单状态说明) |
refundSuccessTime | String(32) | Y | 20211016091109 | 退款时间 |
refundRequestSource | String(32) | Y | API | 退款发起来源 |
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
18
19
20
21 | {
"refundRequestSource":"API",
"refundFee":"5000",
"mchId":"93762611",
"outRefundNo":"202105280000000490338",
"refundSuccessTime":"20211016011012",
"resultCode":"SUCCESS",
"sign":"CUiFpE5NV1hDQu9HVYngDE8G1oFSijCQlbVxsYx7VLhLTu4Bahhel9Xg6Byi5IlnbkobC/G1SANqwIkosO+mnhvLyKukXL7Flm8hIllrgt+4G2FNrbPSVhXtaV5tqYQIvoX+//chbxxUcq27g8vvpDc9WlWSXFKiCKo3iP4BubY=",
"refundStatus":"SUCCESS",
"settlementRefundFee":5000,
"nonceStr":"virttHEKcDBzJjvjayQvvpvpcaIQHoYi",
"transactionId":"C2105280000000077209",
"returnCode":"SUCCESS",
"returnMsg":"OK",
"totalFee":5000,
"appId":"djgeiq978y933",
"outTradeNo":"202105280000000490338",
"signType":"RSA",
"refundId":"RO2108180000000012957",
"settlementTotalFee":"5000"
}
|