Get Affiliate Commission
HTTP request Get Affiliate Commission
- GET
/api/v2/rebate/affiliate/getAffiliateCommission
Rate limit: 10 requests/second
Request parameters
Parameter | Parameter Type | Required | Description |
---|---|---|---|
uid | Long | No | Invited User UID |
startTime | Long | No | Start timestamp in UTC (milliseconds) |
endTime | Long | No | End timestamp in UTC (milliseconds) |
coin | String | No | USDT or BTC |
productType | String | No | SPOT or FUTURES (default SPOT) |
page | Integer | No | Page number (starting from 1, default 1) |
pageSize | Integer | No | Page size (default 100) |
Request example
curl "https://api-spot.weex.com/api/v2/rebate/affiliate/getAffiliateCommission" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
Response parameters
Field Name | Type | Description |
---|---|---|
uid | Long | Invited User UID |
date | Long | Commission timestamp, unit: milliseconds |
coin | String | USDT, BTC ... |
productType | String | Product Type |
fee | String | Net Trading Fee |
commission | String | Paid Commission |
Response example
{
"total": 26,
"code": "200",
"list": [{
"uid": 2189366186,
"date": 1744115194165,
"coin": "WXT",
"productType": "SPOT",
"fee": "0.050000000000",
"commission": "0.010000000000"
}],
"timestamp": 1744679696586
}