v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Crypto Lending - Flex

Create Flex Investment

Create new investment in a Flex plan.

<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/invest

Request body

planstring required

Plan external ID (UUID).

amountstring required

Investment amount.

withReinvestboolean

Enable auto-reinvestment.

requeststring required

Request signature

nonceinteger required

Unique request identifier

Example request

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

Response

Investment created successfully