获取子账号间划转记录
HTTP 请求
GET /account/subs/transfer-history
请求参数
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| sub_user_name | false | string | 子账号用户名 |
| ccy | false | string | 币种名称 |
| start_time | false | int | 查询开始时间。
|
| end_time | false | int | 查询结束时间。
|
| page | false | int | 分页页数。默认页数为 1 |
| limit | false | int | 分页数量。默认数量为 10 |
请求响应
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 唯一ID |
| created_at | int | 转账申请时间 |
| from_account_type | string | 转出账户类型 |
| to_account_type | string | 转入账户类型 |
| from_user_name | string | 转出子账号用户名 |
| to_user_name | string | 转入子账号用户名 |
| ccy | string | 币种名称 |
| amount | string | 转账数量 |
| status | string | 转账状态 |
请求示例
GET /account/subs/transfer-history?sub_user_name=sub2&ccy=CET&start_time=1636451914231&page=1&limit=100
响应示例
{
"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
}
}