English
Query Exchange Order
- Method:
GET - Path:
/coin/v1/exchange/query - Parameters: Query
Request fields
| Field | Type | Required | Constraint | Description |
|---|---|---|---|---|
trade_sn | string | Conditionally | Length 0~255 | Merchant order ID; either trade_sn or order_no (at least one) |
order_no | string | Conditionally | Length 0~255 | Platform order ID |
Response fields (data)
| Field | Type | Description |
|---|---|---|
trade_sn | string | Merchant order ID |
order_no | string | Platform order ID |
pay_currency | string | Pay currency |
receive_currency | string | Receive currency |
pay_amount | double | Pay amount |
receive_amount | double | Exchange amount |
rate | double | Exchange rate |
status | string | Order status; see Exchange order status |
created_at | string | Created time, RFC3339 (with timezone) |
finished_at | string | Successful exchange time, RFC3339 (with timezone); empty if unfinished |
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": "FINISHED",
"created_at": "2026-06-16T16:00:10+08:00",
"finished_at": "2026-06-16T16:00:20+08:00"
}
}