v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Auto-Invest

Index Linked Plan Redemption (TRADE)

To redeem index-Linked plan holdings

Weight(IP): 1

post/sapi/v1/lending/auto-invest/redeem

Query parameters

indexIdinteger required
Example:123456

PORTFOLIO plan's Id

requestIdstring
Example:TR12354859

sourceType + unique, transactionId and requestId cannot be empty at the same time

redemptionPercentageinteger required
Example:10

user redeem percentage,10/20/100.

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Redemption result

redemptionIdinteger required

Example response

{
  "redemptionId": 12345
}