Sub Withdrawal Records
Frequency limit:10 times/1s (User ID)
Description
Only applicable for ND broker main-account
After call, the fund withdrawal records
HTTP Request
- POST /api/v2/broker/subaccount-withdrawal
Request Example
curl -X POST "https://api.cointr.com/api/v2/broker/subaccount-withdrawal?startTime=1700561435000&endTime=1703153435933" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
orderId | String | No | withdrawal order ID |
userId | String | No | Sub account UID |
startTime | String | No | Start timestamp Milliseconds format of timestamp Unix, e.g. 1597026383085 (The maximum time span supported is three months. The default end time is three months if no value is set for the end time. ) |
endTime | String | No | End timestamp Milliseconds format of timestamp Unix, e.g. 1597026383085 (The maximum time span supported is three months. The default start time is three months ago if no value is set for the start time. ) |
limit | String | No | Number of queries: Default: 20, maximum: 100. |
idLessThan | String | No | Separate page content before this ID is requested (older data), and the value input should be the end ID of the last request. |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1689833233282,
"data": {
"resultList": [
{
"orderId": "XXXXX",
"txId": "XXXXXXX",
"coin": "USDT",
"type": "withdraw",
"dest": "internal_transfer",
"amount": "10",
"status": "success",
"fromAddress": "123123",
"toAddress": "456456",
"fee": "1",
"chain": "erc20",
"confirm": "3",
"tag": "xx",
"userId": "123456",
"cTime": "1689833233282",
"uTime": "1689833233282"
}],
"endId": "12345"
}
}
Response Parameters
Parameter | Type | Description |
---|---|---|
orderId | String | orderId |
txId | String | txId |
coin | String | coin |
type | String | type |
dest | String | Withdrawal type |
amount | String | Withdrawal amount |
status | String | The status of the withdrawal processpending :Pending preliminary examinationfail :Failedsuccess :Successful |
fromAddress | String | Withdrawal initiator information. When withdrawal on the chain, this field is the initiator wallet address; when transferring internally, this field is UID |
toAddress | String | Withdrawal recipient information. When withdrawal on the chain, this field is the initiator wallet address; when transferring internally, this field is UID |
fee | String | The amount of the fee. The pricing unit is the recharge currency |
chain | String | Withdrawal network |
confirm | String | Confirm the number of blocks |
tag | String | tag |
userId | String | Sub-account ID |
cTime | String | creation time ms |
uTime | String | update time ms |