HTTP · Account & wallet
Main ↔ Sub-account Transfers
Returns transfers between the main account and its sub-accounts.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| coin query | string | Optional | Coin, e.g. USDT |
| subUid query | string | Optional | Sub-account UID |
| role query | string | Optional | Role; see enumeration values: role |
| clientOid query | string | Optional | Client order ID |
| startTime query | string | Optional | Query start time |
| endTime query | string | Optional | Query end time |
| idLessThan query | string | Optional | Last ID from the previous query |
| limit query | string | Optional | Number of records, default 20, max 20 |
Response fields
| Field | Type | Description |
|---|---|---|
| coin | string | Coin |
| status | string | Transaction status: successful |
| toType | string | Transfer account type |
| fromType | string | Outgoing transfer account type |
| size | string | Transaction amount |
| ts | string | Trade time |
| clientOid | string | Client order ID |
| transferId | string | Transfer ID |
| fromUserId | string | Transferring account |
| toUserId | string | Receiving account |
Response example
{ "code": "00000", "msg": "success", "requestTime": 1766135655171, "data": [ { "coin": "BTC", "status": "Successful", "toType": 2, "fromType": 1, "size": "1000000.00000000", "ts": "1765975998859", "clientOid": "f4e7e520-324c-49c2-9688-0ebd124096bf", "transferId": "338", "fromUserId": "1009178902657", "toUserId": "1009178902657" } ]}