Skip to main content

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#

NameTypeMandatoryDescription
planIdLONGYESPlan identifier
statusENUMYES“ONGOING”,”PAUSED","REMOVED"
recvWindowLONGNOno more than 60000
timestampLONGYES
  • 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}