Get Transfer Records between Sub-Accounts
Info
- This endpoint requires signature. For specific signature rules, please refer to Authentication
- This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
HTTP request
GET /account/subs/transfer-history
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
sub_user_name | false | string | Sub-account username |
ccy | false | string | Currency name |
start_time | false | int | Query start time.
|
end_time | false | int | Query end time.
|
page | false | int | Number of pagination. Default is 1 |
limit | false | int | Number in each page. Default is 10 |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
id | int | Unique ID |
created_at | int | Transfer application time |
from_account_type | string | Sender's account type |
to_account_type | string | Receiver's account type |
from_user_name | string | Username of the sending sub-account |
to_user_name | string | Username of the receiving sub-account |
ccy | string | Currency name |
amount | string | Transfer amount |
status | string | Transfer status |
Request example
GET /account/subs/transfer-history?sub_user_name=sub2&ccy=CET&start_time=1636451914231&page=1&limit=100
Response example
{
"code": 0,
"message": "OK",
"data": [
{
"id": 1337,
"created_at": 1636443179213,
"from_user_name": "sub1",
"to_user_name": "sub2",
"from_account_type": "SPOT",
"to_account_type": "SPOT",
"ccy": "USDT",
"amount": "1",
"status": "finished"
}
],
"pagination": {
"total": 1,
"has_next": false
}
}