取得子帳號間劃轉記錄
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
}
}