Asynchronous callback
Precautions
1. After receiving the asynchronous notification, you must respond with an
httpResponse status code of 200. All other status codes are regarded as callback
failures. After the callback fails, please go to the merchant's backend
tofill the order or call the order filling interface to fill the order.
2. The merchant must verify the x-api-signature of the callback notification,
where the time window offset between x-api-timestamp and the current timestamp
needs to be less than 5s.Notice
The callback parameter 'usdt_quantity' may be changed to the actual amount paid
Callback request header parameter description
x-api-key
string
appkey
x-api-nonce
string
random string
x-api-timestamp
int(10)
Unix timestamp
x-api-signature
string
Signature Hash value
Callback request body parameter description
apikey
string
sys_trade_no
string
System order number
out_trade_no
string
Merchant order number
assets
string
Assets Type
quantity
decimal(16,6)
Quantity of Assets
usdt_quantity
decimal(16,6)
Actual collection quantity
orgin_usdt_quantity
decimal(16,6)
Origin collection quantity
exc_rate
decimal(16,6)
Assets exchange rate
rate
decimal(16,6)
Percentage fee(usdt)
imm_rate
decimal(16,6)
Fixed fee per transaction(usdt)
amount
decimal(16,6)
Settlement quantity of usdt
fee
decimal(16,6)
handling fee(usdt)
to
string
Receiving address
status
int(1)
Order Status
create_time
int(10)
order time
expire_time
int(10)
Expiration
payfor_time
int(10)
Payment time
callbk_time
int(10)
callback time
Last updated