---
title: "Create Flex Investment"
method: POST
path: "/api/v4/main-account/smart-flex/investments/invest"
tags: ["Crypto Lending - Flex"]
---

# Create Flex Investment

`POST /api/v4/main-account/smart-flex/investments/invest`

Create new investment in a Flex plan.

<Warning>
Rate limit: 1000 requests/10 sec.
</Warning>

<Note>
The API does not cache the response.
</Note>

## Request body

- object
  - `plan` string, required — Plan external ID (UUID).
  - `amount` string, required — Investment amount.
  - `withReinvest` boolean — Enable auto-reinvestment.
  - `request` string, required — Request signature
  - `nonce` integer, required — Unique request identifier

## Response `201`

Investment created successfully

- object
  - `data` object
    - `transaction_id` string — Transaction ID for the investment

## Other responses

- `400` — Request validation failed
- `422` — Inner validation failed Response error codes: - 0 - Validation failed (plan unavailable/paused, amount too small, private plan, investment cap exceeded) - 2 - Amount is less than min investment amount - 3 - Amount is greater than max investment amount - 4 - Not enough balance to create investment

---

[API](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4.md) · [All operations](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whitebit/whitebit-private-http-api-v4/revisions/76c9def9942f/schema)
