Subscribe Flexible Product(TRADE)
API Description
Subscribe Flexible Product
HTTP Request
POST /sapi/v1/simple-earn/flexible/subscribe
Request Weight(IP)
1
Rate Limit
1/3s per account**
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| productId | STRING | YES | |
| amount | DECIMAL | YES | |
| autoSubscribe | BOOLEAN | NO | true or false, default true. |
| sourceAccount | ENUM | NO | SPOT,FUND,ALL, 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
{
"purchaseId": 40607,
"success": true
}