{
"bizType": "PAY",
"bizId": "1647557960944",
"bizStatus": "PAY_SUCCESS",
"data": "{\"merchantTradeNo\":\"gateio_withdraw6331782520222\",\"productType\":\"NFT\",\"productName\":\"ka\",\"tradeType\":\"APP\",\"goodsName\":\"ka\",\"terminalType\":\"APP\",\"currency\":\"USDT\",\"totalFee\":\"1.2\",\"orderAmount\":\"1.2\",\"createTime\":1664123708000,\"transactionId\":\"24344545\",\"channelId\":\"123456\"}"
}{
"returnCode": "SUCCESS",
"returnMessage": null
}When the status of the prepaid order changes, such as expiration of the order due to exhaustion of payment time or successful payment of the order, the GatePay background will send a notification to the merchant to the notification address, which is the callback url provided by the merchant at registration.
If the notification fails to be sent to the merchant due to a network issue or other unknown reasons, GatePay background will resend it every 3 seconds, 10 times at most until it is sent successfully. If it still does not work, the merchant can query the status of the prepaid order by querying API.
{
"bizType": "PAY",
"bizId": "1647557960944",
"bizStatus": "PAY_SUCCESS",
"data": "{\"merchantTradeNo\":\"gateio_withdraw6331782520222\",\"productType\":\"NFT\",\"productName\":\"ka\",\"tradeType\":\"APP\",\"goodsName\":\"ka\",\"terminalType\":\"APP\",\"currency\":\"USDT\",\"totalFee\":\"1.2\",\"orderAmount\":\"1.2\",\"createTime\":1664123708000,\"transactionId\":\"24344545\",\"channelId\":\"123456\"}"
}{
"returnCode": "SUCCESS",
"returnMessage": null
}GatePay 订单状态回调通知结构。
业务类型,固定为 PAY。
PAY 预付单 ID。
业务状态:PAY_SUCCESS 支付成功,PAY_CLOSE 订单关闭,PAY_ERROR 异常场景回调。
PAY_SUCCESS, PAY_CLOSE, PAY_ERROR 订单数据类型对象的 JSON 格式字符串 参考 payOrderData
"{\"merchantTradeNo\":\"gateio_withdraw6331782520222\",\"goodsName\":\"ka\",\"terminalType\":\"APP\",\"currency\":\"USDT\",\"orderAmount\":\"1.2\"}"
订单数据对象(data 字段解析后的结构)。
Show child attributes