# 1.5 QRCODE 还款回调接口

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

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

# callback example
// QRCODE payment success callback
{
    "eventName": "qrcode.payment.success",
    "amount":503700,
    "fee":1000,
    "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":"COMPLETE"
}

// QRCODE payment failed callback
{
    "eventName": "qrcode.payment.failed",
    "amount":503700,
    "fee":1000,
    "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":{
	}
}