获取代理返佣明细
HTTP 请求
GET /refer/agent-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/agent-rebate/detail?search=user&start_time=1609459200000&end_time=1609545600000&page=1&limit=10
响应示例
{
"code": 0,
"data": [
{
"created_at": 1609459200000,
"uid": "11228623",
"account_name": "agent_user_001",
"spot_value": "20000.00",
"spot_fee": "60.00",
"futures_value": "40000.00",
"futures_fee": "120.00",
"deal_value": "60000.00",
"deal_fee": "180.00",
"deal_rebate_usdt": "18.00",
"deal_rebate_cet": "9.00"
},
{
"created_at": 1609545600000,
"uid": "11228624",
"account_name": "agent_user_002",
"spot_value": "15000.00",
"spot_fee": "45.00",
"futures_value": "30000.00",
"futures_fee": "90.00",
"deal_value": "45000.00",
"deal_fee": "135.00",
"deal_rebate_usdt": "13.50",
"deal_rebate_cet": "6.75"
}
],
"pagination": {
"total": 2,
"has_next": false
},
"message": "OK"
}