跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

查询返佣记录 (KEYED)

适用于API代理商查询一定时间范围内的合约反佣记录

请求URL

GET https://cloud-api.wooxpro.com/contract/private/affiliate/rebate-list

请求限制

参见 速率限制详细

请求参数

请求
curl https://cloud-api.wooxpro.com/contract/private/affiliate/rebate-list?page=1&size=10&currency=USDT
字段类型是否必填描述
user_idLong查询用户ID
pageInt第几页
sizeInt每页条数
currencyString查询币种
rebate_start_timeLong查询返佣开始时间戳(精确到秒)
rebate_end_timeLong查询返佣结束时间戳(精确到秒)
register_start_timeLong查询注册开始时间戳(精确到秒)
register_end_timeLong查询注册结束时间戳(精确到秒)

响应详情

响应
{
  "total": 2,
  "btc_rebate_sum": 0,
  "size": 10,
  "usdt_rebate_sum": 448.9697507148,
  "page": 1,
  "eth_rebate_sum": 0,
  "rebate_detail_page_data": [{
    "rebate_coin": "USDT",
    "trade_user_id": 4225149,
    "total_rebate_amount": 427.1825970576,
    "user_type":1
  }, {
    "rebate_coin": "USDT",
    "trade_user_id": 4225148,
    "total_rebate_amount": 21.7871536572,
    "user_type":1
  }]
}
字段类型描述
btc_rebate_sumDecimalbtc总返佣
usdt_rebate_sumDecimalusdt总返佣
eth_rebate_sumDecimaleth总返佣
rebate_detail_page_dataObject反佣详细
rebate_coinString币种
trade_user_idLong交易用户ID
total_rebate_amountDecimal用户总佣金
user_typeInt用户类型
-0=间接邀请用户
-1=直接邀请用户