Query withdrawal order details
GET/withdraw/detail
Query the details of the withdrawal order by withdrawal order ID or merchant order number.
Request
Query Parameters
Withdrawal order ID
withdrawId
and outTradeNo
must be passed at least one
Merchant order number
withdrawId
and outTradeNo
must be passed at least one
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
0
- Success1
- Pending approval2
- Under review3
- Block confirmation4
- Failure5
- Rejected
Status code
Status message on success or error message on failure
Detailed description when error
data
object
Withdrawal order object
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Currency ID
Can be obtained from Get Currency List interface
Withdrawal order ID
Merchant order number
Withdrawal amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
Merchant Pro only: Can contain multiple amount, separated by ,
, corresponding to the withdrawal address one by one
Withdrawal address
Merchant Pro only: Can contain multiple addresses, separated by ,
, corresponding to the withdrawal amount one by one
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Withdrawal order status
Withdrawal application time
Transaction hash
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"chainId": 0,
"currencyId": 0,
"withdrawId": 0,
"outTradeNo": "string",
"withdrawAmount": "string",
"withdrawAddress": "string",
"withdrawStatus": 0,
"withdrawTime": "2024-07-29T15:51:28.071Z",
"transferHash": "string"
}
}
{
"code": 200,
"msg": "success",
"data": {
"withdrawId": 1231,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "202404191522",
"withdrawStatus": 1,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"withdrawTime": "2024-04-19 15:22:46"
}
}
Unauthorized
Forbidden
Not Found