HTTP · Account & wallet

Get Withdrawal History

Returns withdrawal records.

GEThttps://api.koinsayang.com/api/v2/spot/wallet/withdrawal-records

Request parameters

NameTypeRequiredDescription
coin
query
stringOptionalCoin, e.g. USDT
clientOid
query
stringOptionalCustom order ID. Use either this or the order ID. If clientOid is set, the system queries this order directly and ignores the other parameters provided
orderId
query
stringOptionalOrder ID
startTime
query
stringYesQuery start time
endTime
query
stringYesQuery end time
idLessThan
query
stringOptionalLast ID from the previous request
limit
query
stringOptionalNumber of records, default 100, max 100

Response fields

FieldTypeDescription
orderIdstringOrder ID
tradeIdstringTransaction ID; on-chain transaction hash if dest is on_chain; order ID if dest is internal_transfer.
coinstringCoin
typestringTransaction type, fixed as deposit
deststringTop-up type; see enumeration values: top-up type
sizestringNumber
statusstringDeposit status; see enumeration values: deposit status
fromAddressstringDeposit initiator; see enumeration values: deposit and withdrawal address identification
toAddressstringDeposit recipient; see enumeration values: deposit and withdrawal address identification
feestringFee
chainstringTop-up network; can be ignored if dest is internal_transfer
confirmstringNumber of block confirmations
tagstringTag
cTimestringCreation time (ms)
uTimestringLast update time (ms)

Response example

200 · application/json
{
"code": "00000",
"msg": "success",
"requestTime": 1654507973411,
"data": [
{
"orderId": "1",
"tradeId": "1",
"coin": "USDT",
"dest": "internal_transfer",
"clientOid": "123",
"type": "withdraw",
"tag": "",
"size": "10.00000000",
"fee": "-1.00000000",
"status": "success",
"toAddress": "1",
"fromAddress": "2",
"confirm": "100",
"chain": "erc20",
"cTime": "1653290769222",
"uTime": "1653290769222"
}
]
}