Change Plan Status(TRADE)
API Description
Change Plan Status
HTTP Request
POST /sapi/v1/lending/auto-invest/plan/edit-status
Request Weight(IP)
1
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
planId | LONG | YES | Plan identifier |
status | ENUM | YES | “ONGOING”,”PAUSED","REMOVED" |
recvWindow | LONG | NO | no more than 60000 |
timestamp | LONG | YES |
- max one request every 3s per account
Response Example
{
"planId": 12345, //planId is constant regardless the change of the status
"nextExecutionDateTime":1648378800000,
"status":"ONGOING" //ONGOING, PAUSED, REMOVED
}