支付结果通知
| 请求方式 | body | 编码 |
|---|---|---|
| POST | application/json | UTF-8 |
通知确认:直接response返回SUCCESS,如果返回非SUCCESS,将会持续接收相同通知,累计10次,逐步增加步长
| 字段名 | 变量名 | 必填 | 类型 | 示例值 | 描述 |
|---|---|---|---|---|---|
| returnCode | 返回码 | Y | String(32) | SUCCESS | SUCCESS/FAIL 此字段为业务交互通信标志 |
| returnMsg | 返回消息 | Y | String(32) | OK | 当returnCode为FAIL时,返回错误信息 |
| resultCode | 业务结果 | Y | String(32) | SUCCESS | SUCCESS/FAIL |
| errorCode | 错误代码 | N | String(32) | 当resultCode为FAIL时,errorCode必填 | |
| errorCodeDes | 错误描述 | N | String(64) | 当resultCode为FAIL时,errorCodeDes必填 | |
| appId | appId | N | String(32) | 当resultCode为SUCCESS时,appId必填 | |
| mchId | 商户号 | N | String(32) | 当resultCode为SUCCESS时,mchId必填 | |
| openId | 连上数字Id | N | String(32) | ||
| tradeType | 交易类型 | N | String(32) | 当resultCode为SUCCESS时,tradeType必填 | |
| transactionId | 连尚支付订单号 | N | String(32) | 当returnCode和resultCode为SUCCESS时,transactionId必填 | |
| outTradeNo | 商户订单号 | N | String(32) | 当returnCode和resultCode为SUCCESS时,outTradeNo必填 | |
| attach | 附加数据 | N | String(128) | ||
| totalFee | 支付订单金额 | N | Int | 当returnCode和resultCode为SUCCESS时,totalFee必填 | |
| timeEnd | 支付完成时间 | N | String(14) | 时间格式:yyyyMMddHHmmss | |
| bankType | 付款银行 | N | String(16) | 当returnCode和resultCode为SUCCESS时,银行卡支付时,bankType必填 | |
| couponFee | 代金券总金额 | N | Int | 当returnCode和resultCode为SUCCESS时,并且有优惠减免时,couponFee必填 | |
| couponId$n | 代金券ID | N | String(32) | 当returnCode和resultCode为SUCCESS时,并且有优惠减免时,couponId必填,$n从0开始计数 | |
| couponType$n | 代金券类型 | N | String(32) | 当returnCode和resultCode为SUCCESS时,并且有优惠减免时,couponType必填,$n从0开始计数 | |
| couponFee$n | 单个代金券金额 | N | Int | 当returnCode和resultCode为SUCCESS时,并且有优惠减免时,couponFee必填,$n从0开始计数 | |
| nonceStr | 随机字符串 | Y | String(32) | ||
| signType | 加签方式 | Y | String(10) | RSA | 目前只支持RSA |
| sign | 签名 | Y | String(500) |