Skip to main content

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

ParameterTypeRequiredDescription
orderIdStringNowithdrawal order ID
userIdStringNoSub account UID
startTimeStringNoStart 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. )
endTimeStringNoEnd 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. )
limitStringNoNumber of queries: Default: 20, maximum: 100.
idLessThanStringNoSeparate 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

ParameterTypeDescription
orderIdStringorderId
txIdStringtxId
coinStringcoin
typeStringtype
destStringWithdrawal type
amountStringWithdrawal amount
statusStringThe status of the withdrawal process
pending:Pending preliminary examination
fail:Failed
success:Successful
fromAddressStringWithdrawal initiator information. When withdrawal on the chain, this field is the initiator wallet address; when transferring internally, this field is UID
toAddressStringWithdrawal recipient information. When withdrawal on the chain, this field is the initiator wallet address; when transferring internally, this field is UID
feeStringThe amount of the fee. The pricing unit is the recharge currency
chainStringWithdrawal network
confirmStringConfirm the number of blocks
tagStringtag
userIdStringSub-account ID
cTimeStringcreation time ms
uTimeStringupdate time ms