欢迎使用全新的 WEEX API 文档。需要查看旧版本?切换到旧版文档
WEEX

获取代理返佣记录

HTTP request 获取返佣记录 (代理账户)

  • GET /api/v3/rebate/affiliate/getAffiliateCommission

权重(IP): 20

请求参数

参数名参数类型是否必须描述
uidLong否被邀请用户UID
startTimeLong否开始时间戳(UTC毫秒,默认七天,最大3个月)
endTimeLong否结束时间戳(UTC毫秒,默认当前时间,最大3个月)
coinString否币种类型(USDT或BTC)
productTypeString否产品类型(SPOT或FUTURES,默认SPOT)
pageInteger否页码(从1开始,默认1)
pageSizeInteger否每页数量(默认100)
请求示例
PowerShellCode
curl "https://api-spot.weex.com/api/v3/rebate/affiliate/getAffiliateCommission" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1659076670000" \ -H "Content-Type: application/json"
返回参数
字段名类型字段说明
channelCommissionInfoItemsArray返佣记录列表
uidLong被邀请用户UID
dateLong佣金时间戳(单位:毫秒)
coinString币种类型(USDT, BTC等)
feeString净交易手续费
commissionString已支付佣金
rateString返佣比例
productTypeString产品类型(SPOT/FUTURES)
symbolString交易对
sourceTypeInteger1:直客、2:子代理
takerAmountStringtaker金额(交易量)
makerAmountStringmaker金额(交易量)
pagesInteger总页数
pageSizeInteger每页数量
totalLong总记录数
返回示例
JSONCode
{ "pages": 3, "pageSize": 100, "total": 1014, "channelCommissionInfoItems": [ { "uid": "4667776811", "date": 1755687731913, "coin": "USDT", "fee": "0.682571", "commission": "0.0682571", "rate": "0.1", "productType": "SPOT", "symbol": "cmt_btcusdt", "sourceType": 1, "takerAmount": "1137.619", "makerAmount": "0" } ] }