Skip to main content

Sub Account Transfer Record

Sub Account Transfer Record​

Query transfer records between parent and sub accounts

Request URL​

GET /deepcoin/sub-account/sub-account-transfer-record

Request Parameters​

Field NameRequiredTypeDescription
coinfalsestringCurrency
fromIdfalsestringTransfer from account ID (1: Spot, 2: Wallet, 3: Rebate, 5: Inverse Contract, 7: Linear Contract, 10: Demo Account)
toIdfalsestringTransfer to account ID (1: Spot, 2: Wallet, 3: Rebate, 5: Inverse Contract, 7: Linear Contract, 10: Demo Account)
relationTypefalsestringRelation type (1: Parent->Sub, 2: Sub->Parent, 3: Sub->Sub)
pagetrueintPage number (minimum: 1)
sizetrueintPage size (minimum: 1, maximum: 100)

Request Example​

GET /deepcoin/sub-account/sub-account-transfer-record?page=1&size=20&coin=USDT&relationType=1

Response Parameters​

Field NameTypeDescription
retCodeintReturn code
retMsgstringReturn message
retDataobjectReturn data

retData Object​

Field NameTypeDescription
countintTotal count
listarrayRecord list

list Item​

Field NameTypeDescription
idint64Record ID
parentUidint64Parent account UID
fromUidint64Transfer from UID
toUidint64Transfer to UID
fromIdintTransfer from account ID
toIdintTransfer to account ID
coinstringCurrency
amountstringAmount
stateintStatus (0: Processing, 1: Completed)
updateTimeint64Update time (timestamp)
createTimeint64Create time (timestamp)
requestIdOutstringTransfer out request ID
requestIdInstringTransfer in request ID
asusdtstringEquivalent in USDT
fromAccountstringTransfer from account name
toAccountstringTransfer to account name

Response Example​

{
"retCode": 0,
"retMsg": "success",
"retData": {
"count": 50,
"list": [
{
"id": 12345,
"parentUid": 100001,
"fromUid": 100001,
"toUid": 100002,
"fromId": 1,
"toId": 1,
"coin": "USDT",
"amount": "100.50",
"state": 1,
"updateTime": 1731427200,
"createTime": 1731427100,
"requestIdOut": "req-out-123",
"requestIdIn": "req-in-456",
"asusdt": "100.50",
"fromAccount": "Spot Account",
"toAccount": "Spot Account"
}
]
}
}