跳转到主要内容

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-user

请求限制

参见 速率限制详细

请求参数

请求
curl https://cloud-api.wooxpro.com/contract/private/affiliate/rebate-user?cid=1000000&start_time=1000000000&end_time=2000000000
字段类型是否必填描述
cidLong查询用户CID(支持名下所有代理商和直接/间接邀请用户)
start_timeLong查询数据开始时间戳(秒级时间戳)
end_timeLong查询数据结束时间戳(秒级时间戳)
注意
  • 填写时间范围的话,end_time 必须比 start_time 的值大, 并且start_timeend_time 最大支持 60 天的查询间隔

响应详情

响应
{
  "code": "1000",
  "data": {
    "trading_vol_total": "483628.63308",
    "trading_fee": "287.910914",
    "back_rate": "90.00000000",
    "trading_vol": "483628.63308",
    "rebate": "259.1198226",
    "trading_fee_total": "287.910914",
    "rebate_total": "259.1198226",
    "cid": 166668888
  },
  "success": true,
  "requestId": "5f7fca16fbee4f74b3a9896d93f2c104",
  "message": "OK"
}
字段类型描述
cidLong用户 CID
back_rateString用户返佣比例
trading_vol_totalString用户累计交易量
trading_fee_totalString用户累计手续费
rebate_totalString用户累计返佣
trading_volString本人交易量
trading_feeString本人手续费
rebateString本人返佣