Skip to main content

Subscribe Locked Product(TRADE)

API Description

Subscribe Locked Product

HTTP Request

POST /sapi/v1/simple-earn/locked/subscribe

Request Weight(IP)

1

Rate Limit

1/3s per account

Request Parameters

NameTypeMandatoryDescription
projectIdSTRINGYES
amountDECIMALYES
autoSubscribeBOOLEANNOtrue or false, default false.
sourceAccountENUMNOSPOT,FUND,ALL, default SPOT
redeemToENUMNOSPOT,FLEXIBLE, default FLEXIBLE
recvWindowLONGNO
timestampLONGYES
  • You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.

Response Example

{
"purchaseId": 40607,
"positionId": "12345",
"success": true
}