v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Crypto Lending - Flex

Update Flex Auto-Reinvestment

Enable/disable automatic reinvestment for user's investment.

<Warning> Rate limit: 1000 requests/10 sec. </Warning> <Note> The API does not cache the response. </Note>
post/api/v4/main-account/smart-flex/investments/auto-invest

Request body

planstring required

Plan external ID (UUID).

enabledboolean

Enable or disable auto-reinvestment.

requeststring required

Request signature

nonceinteger required

Unique request identifier

Example request

{
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "enabled": true,
  "request": "{{request}}",
  "nonce": 1594297865000
}

Response

Auto-reinvestment updated successfully