Skip to main content

Query Rebate Recent Record (USER DATA)(For Partner)

HTTP Request

GET /sapi/v1/apiReferral/rebate/recentRecord

Request Parameters

NameTypeMandatoryDescription
customerIdSTRINGNO
startTimeLONGYES
endTimeLONGYES
limitINTYESmax 500
recvWindowLONGNO
timestampLONGYES
  • startTime and endTime must be both specified or both omitted.
  • When both omitted it returns last 7 days.
  • When both specified the span has to be within 7 days.

Example Response

[
{
"customerId": "", // Only visible if configured
"email": "om***@***.com",
"income": "0.00240635",
"asset": "USDC",
"symbol": "BNBUSDC",
"time": 1764000370000,
"orderId": 54321678,
"tradeId": 12349876,
"distributeTime": 1764004848000, // Only visible after rebate distribution
"commissionAsset": "BNB",
"commission": "0.00000284", // amount after ratio applied
"convertPrice": "847.30952410"
},
{
"customerId": "abd433",
"email": "abcd*****@gmail.com",
"income": "0.02230096",
"asset":"USDT",
"symbol": "BTCUSDT",
"time":1581580800000,
"orderId": 12345678,
"tradeId": 87654321,
"distributeTime": 1764004848000,
"commissionAsset": "USDT",
"commission": "0.02230000",
"convertPrice": "1.00004321"
}
]