{
"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
}The callback notification structure for GatePay order status updates.
The type of the business, must be "PAY".
PAY The ID of the prepayment.
Order status, which can be "PAY_SUCCESS" for payment success, "PAY_CLOSE" for order closed, or "PAY_ERROR" for abnormal scenarios callback.
PAY_SUCCESS, PAY_CLOSE, PAY_ERROR The JSON format string of the order data type object. Refer to PayOrderData.
"{\"merchantTradeNo\":\"gateio_withdraw6331782520222\",\"goodsName\":\"ka\",\"terminalType\":\"APP\",\"currency\":\"USDT\",\"orderAmount\":\"1.2\"}"
Order data object (parsed structure of the data field).
Show child attributes