获取代理的直客交易与资金统计
HTTP request 获取直客交易与资金统计 (代理账户)
- GET /api/v2/rebate/affiliate/getChannelUserTradeAndAsset
权重(IP): 20, 权重(UID): 20
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 | 
|---|---|---|---|
| uid | Long | 否 | 被邀请用户的UID | 
| startTime | Long | 否 | 开始时间戳(UTC毫秒) | 
| endTime | Long | 否 | 结束时间戳(UTC毫秒) | 
| page | Integer | 否 | 页码(从1开始,默认1) | 
| pageSize | Integer | 否 | 每页数量(默认100) | 
请求示例
curl "https://api-spot.weex.com/api/v2/rebate/affiliate/getChannelUserTradeAndAsset" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json"
返回参数
| 字段名 | 类型 | 字段说明 | 
|---|---|---|
| uid | String | 被邀请用户UID | 
| depositAmount | String | 入金量 | 
| withdrawalAmount | String | 出金量 | 
| spotTradingAmount | String | 现货交易量 | 
| futuresTradingAmount | String | 合约交易量 | 
| commission | String | 佣金 | 
返回示例
{
  "code": "200",
  "data": {
    "pages": 1,
    "pageSize": 100,
    "total": 98,
    "records": [
      {
        "uid": "3066862172",
        "depositAmount": "0",
        "withdrawalAmount": "0",
        "spotTradingAmount": "0",
        "futuresTradingAmount": "0",
        "commission": "0"
      }
    ]
  },
  "timestamp": 1756102550140
}