Redeem Flexible Product(TRADE)
API Description
Redeem Flexible Product
HTTP Request
POST /sapi/v1/simple-earn/flexible/redeem
Request Weight(IP)
1
Rate Limit
1/3s per account
Request Parameters
| Name | Type | Mandatory | Description | 
|---|---|---|---|
| productId | STRING | YES | |
| redeemAll | BOOLEAN | NO | true or false, default to false | 
| amount | DECIMAL | NO | if redeemAll is false, amount is mandatory | 
| destAccount | ENUM | NO | SPOT,FUND, default SPOT | 
| recvWindow | LONG | NO | |
| timestamp | LONG | YES | 
- You need to open
 Enable Spot & Margin Tradingpermission for the API Key which requests this endpoint.
Response Example
{
  "redeemId": 40607,
  "success": true
}