Asynchronous callback notification
2021-03-23 15:42:57
When the payment order transaction is successful, the system will send a callback notification.
Type:
POST
URL:
In your payment parameters notify_url
Request content
{
"status":"success",
"safety_verification":"bXshJklQG5leGlvaHViLmNvbTpteXBhc3N3b2lK"
"data":{
"merchant_order_no":"0d5c79ba1949c69ab179s0",
"trade_no":"8203231251392998564",
"coin":"USDT",
"price":"6.49",
"amount":"100",
"quantity":"15.408320",
"currency_code":"VND",
"orderStatus":"Confirmed"
}
}
参数说明:
status
Callback status, success means success
, otherwise failure.
safety_verification
Security verification, the user verifies the callback identity, and the merchant secret and the merchant order number string are spliced and then md5 encrypted.
merchant_order_no
Merchant order number
trade_no
System order number
coin
coin
price
price
amount
total
quantity
Number of digital currencies
currency_code
Currency Unit
orderStatus
Order Status
Order status reference
Code | description |
WaitPayment | waiting for payment |
Unconfirmed | Payment not confirmed |
Confirmed | Transaction complete |
Revoked | The order is cancelled |
Expired | The order has expired |
Freeze | Order is frozen |