Get Flexible Redemption Record(USER_DATA)
API Description
Get Flexible Redemption Record
HTTP Request
GET /sapi/v1/simple-earn/flexible/history/redemptionRecord 
Request Weight(IP)
150
Request Parameters
| Name | Type | Mandatory | Description | 
|---|---|---|---|
| productId | STRING | NO | |
| redeemId | STRING | NO | |
| asset | STRING | NO | |
| startTime | LONG | NO | |
| endTime | LONG | NO | |
| current | LONG | NO | Currently querying the page. Start from 1. Default:1 | 
| size | LONG | NO | Default:10, Max:100 | 
| recvWindow | LONG | NO | |
| timestamp | LONG | YES | 
- The time between
 startTimeandendTimecannot be longer than 3 months.- If
 startTimeandendTimeare both not sent, then the last 30 days' data will be returned.- If
 startTimeis sent butendTimeis not sent, the next 30 days' data beginning fromstartTimewill be returned.- If
 endTimeis sent butstartTimeis not sent, the 30 days' data beforeendTimewill be returned.
Response Example
{
  "rows": [
    {
      "amount": "10.54000000",
      "asset": "USDT",
      "time": 1577257222000,
      "projectId": "USDT001",
      "redeemId": 40607,
      "destAccount":"SPOT", // SPOT, FUNDING
      "status": "PAID" //CREATED,PAID,FAILED
    }
  ],
  "total": 1
}