Query withdrawal order list
GET/withdraw/list
Query the withdrawal order list of the merchant by pagination.
Request
Query Parameters
0
- Success1
- Pending Approval2
- Under Review3
- Block Confirmation4
- Failure5
- Rejected
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
Possible values: >= 1
and <= 1000000
Default value: 1
Page number
Possible values: <= 500
Default value: 10
Number of records per page
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Order Status
Transaction hash
Start time of order creation
Format: Unix timestamp, unit: seconds
End time of order creation
Format: Unix timestamp, unit: seconds
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
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
Page result object
Total number of records that meet the conditions
Current page number
Number of records per page
list
object[]
required
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": {
"count": 0,
"page": 0,
"size": 0,
"list": [
{
"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": {
"page": 1,
"size": 5,
"count": 53,
"list": [
{
"withdrawId": 1231,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "202404191522",
"withdrawStatus": 1,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"transferHash": null,
"withdrawTime": "2024-04-19 15:22:46"
},
{
"withdrawId": 1230,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "",
"withdrawStatus": 1,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"transferHash": null,
"withdrawTime": "2024-04-19 15:18:49"
},
{
"withdrawId": 1229,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "",
"withdrawStatus": 1,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"transferHash": null,
"withdrawTime": "2024-04-19 15:16:52"
},
{
"withdrawId": 1228,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "",
"withdrawStatus": 1,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"transferHash": null,
"withdrawTime": "2024-04-19 15:02:37"
},
{
"withdrawId": 1221,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "202404191100",
"withdrawStatus": 0,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"transferHash": "0337494b43b032050fe03cb41a6afa8cbd283faaea8959c86744dc0b10660607",
"withdrawTime": "2024-04-19 10:59:16"
}
]
}
}
Unauthorized
Forbidden
Not Found