Skip to main content

Trade Notify

Trade Notify​

Webhook URL​

Webhook Method​

  • HTTP Method: POST

Authentication​

  • Share the IP whitelist with each other.

Headers​

Content-Type: application/json
timestamp: xxx
publicKey: xxx

Request Body​

The request body is in JSON format with the following fields:

Field NameTypeDescription
tradeNostringTrade order number
statusstringTrade status: processing, success, or failed
quoteTxIdstringQuote transaction ID. System generated, used to confirm the quote
exchangeRatestringExchange rate
fromCoinstringConvert from coin (coin to sell)
fromCoinTypestringCoin type of fromCoin, either fiat or crypto
toCoinstringConvert to coin (coin to buy)
toCoinTypestringCoin type of toCoin, either fiat or crypto
fromAmountstringFrom coin amount (amount to sell)
toAmountstringTo coin amount (amount to buy according to the exchange rate)
createdAtstringTrade created time