跳至主要内容

交易通知

交易通知

Webhook URL

Webhook Method

  • HTTP MethodPOST

Authentication

  • 雙方共享 IP 白名單

Headers

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

Request Body

請求體為 JSON 格式,包含以下欄位:

欄位名稱型別說明
tradeNostring交易訂單號
statusstring交易狀態:processingsuccessfailed
quoteTxIdstring報價交易 ID,由系統產生,用於確認報價
exchangeRatestring匯率
fromCoinstring兌出幣種(賣出的幣)
fromCoinTypestringfromCoin 的幣種類型,fiatcrypto
toCoinstring兌入幣種(買入的幣)
toCoinTypestringtoCoin 的幣種類型,fiatcrypto
fromAmountstring兌出幣種數量(賣出數量)
toAmountstring兌入幣種數量(依照匯率計算的買入數量)
createdAtstring交易建立時間