Skip to content

Confirm Exchange

  • Method: POST
  • Path: /coin/v1/exchange/confirm
  • Parameters: JSON Body

Request fields

FieldTypeRequiredConstraintDescription
quote_idstringYesQuote ID from the quote API
trade_snstringYesLength 1~255Merchant order ID (unique per merchant)
pay_amountdoubleYes> 0Pay amount from the quote API
receive_amountdoubleYes> 0; precision in CurrencyReceive amount from the quote API
pay_currencystringYesSee CurrencyPay currency from the quote API
receive_currencystringYesSee CurrencyReceive currency from the quote API
notify_urlstringNohttp/https; 0~255Callback URL; empty means no callback

Response fields (data)

FieldTypeDescription
trade_snstringMerchant order ID
order_nostringPlatform order ID
pay_currencystringPay currency
receive_currencystringReceive currency
pay_amountdoublePay amount
receive_amountdoubleExchange amount
ratedoubleExchange rate
statusstringOrder status; fixed to PENDING on successful create; see Exchange order status
created_atstringCreated time, RFC3339 (with timezone)

Success response example

json
{
  "status": 200,
  "msg": "SUCCESS",
  "data": {
    "trade_sn": "ORD-001",
    "order_no": "O202606160001",
    "pay_currency": "BRL",
    "receive_currency": "USDT",
    "pay_amount": 543.21,
    "receive_amount": 100,
    "rate": 5.4321,
    "status": "PENDING",
    "created_at": "2026-06-16T16:00:10+08:00"
  }
}