# 1.5 QRCODE 还款回调接口

# 请求URL
  • /xxx
# 请求方式
  • POST
# 请求参数
参数名 必选 类型 长度 说明
eventName string 50 事件名称 (qrcode.payment.success, qrcode.payment.failed)
mchOrderId string 1-32 Merchant QRCODE mchOrderId
transactionId string 50 PayCools Transaction ID
amount int 11 Amount
transactionStatus string 50 Transaction Status:PENDING, COMPLETE, FAILED
createTime string - Create Time
returnTime string - Return Time
channelCode string 100 Used for payment callback - Channel Code
remark string 255 Remark
failedCode int 10 Failed Code
failedMessage string 100 Failed Message
sign string text Sign签名

# 回调签名参考 回调签名参考

# callback example
// QRCODE payment success callback
{
    "eventName": "qrcode.payment.success",
    "amount":503700,
    "channelCode":"QRPH_STATIC_QR",
    "mchOrderId":"CCVA1653350151938813",
    "createTime":"2022-05-31 09:38:06",
    "remark":"qrcode payment",
    "sign": "xxxxxxxxxxxxx",
    "returnTime":"2022-05-31 09:38:06",
    "transactionId":"C1032653961085706055",
    "transactionStatus":"COMPLETE"
}

// QRCODE payment failed callback
{
    "eventName": "qrcode.payment.failed",
    "amount":503700,
    "channelCode":"QRPH_DYNAMIC_QR",
    "mchOrderId":"CCVA1653350151938813",
    "createTime":"2022-05-31 09:38:06",
    "remark":"qrcode payment",
    "sign": "xxxxxxxxxxxxx",
    "returnTime":"2022-05-31 09:38:06",
    "transactionId":"C1032653961085706055",
    "transactionStatus":"FAILED"
}
# 返回示例
{
    "code":1,
    "msg":"success",
    "data":{
	}
}