取得直客返傭明細
HTTP 請求
GET /refer/referee-rebate/detail
請求參數
| 參數名 | 是否必須 | 類型 | 說明 |
|---|---|---|---|
| search | false | string | 搜尋字段,可以搜尋uid 或帳戶名 |
| start_time | false | int | 查詢開始時間。
|
| end_time | false | int | 查詢開始時間。
|
| page | false | int | 分頁頁數。預設頁數為1 |
| limit | false | int | 分頁數量。預設頁數為10 |
請求回應
| 參數名 | 類型 | 說明 |
|---|---|---|
| created_at | int | 資料創建時間 |
| uid | string | 使用者ID |
| account_name | string | 帳戶名 |
| spot_value | string | 直客的現貨成交估值 |
| spot_fee | string | 直客透過現貨成交產生的手續費估值 |
| futures_value | string | 直客的合約成交估值 |
| futures_fee | string | 直客透過合約成交產生的手續費估值 |
| deal_value | string | 直客的現貨和合約成交的總估值 |
| deal_fee | string | 直客透過現貨和合約成交產生的總手續費估值 |
| deal_rebate_usdt | string | 所得的現貨返傭及合約返傭的總量(USDT) |
| deal_rebate_cet | string | 所得的現貨返傭及合約返傭的總量(CET) |
請求範例
GET
/refer/referee-rebate/detail?search=user&start_time=1609459200000&end_time=1609545600000&page=1&limit=10
回應範例
{
"code": 0,
"data": [
{
"created_at": 1609459200000,
"uid": "11228623",
"account_name": "referee_user_001",
"spot_value": "10000.00",
"spot_fee": "30.00",
"futures_value": "20000.00",
"futures_fee": "60.00",
"deal_value": "30000.00",
"deal_fee": "90.00",
"deal_rebate_usdt": "9.00",
"deal_rebate_cet": "91.23",
},
{
"created_at": 1609545600000,
"uid": "11228624",
"account_name": "referee_user_002",
"spot_value": "5000.00",
"spot_fee": "15.00",
"futures_value": "10000.00",
"futures_fee": "30.00",
"deal_value": "15000.00",
"deal_fee": "45.00",
"deal_rebate_usdt": "4.50",
"deal_rebate_cet": "22.30",
}
],
"pagination": {
"total": 2,
"has_next": false
},
"message": "OK"
}