---
title: "Close investment"
method: POST
path: "/api/v4/main-account/smart/investment/close"
tags: ["Crypto Lending - Fixed"]
---

# Close investment

`POST /api/v4/main-account/smart/investment/close`

## Request

- Base URL: `https://whitebit.com`
- URL: `https://whitebit.com/api/v4/main-account/smart/investment/close`
- Auth: API key in header `X-TXC-APIKEY` and API key in header `X-TXC-PAYLOAD` and API key in header `X-TXC-SIGNATURE`
- TypeScript: <https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4/docs/api/v4/main-account/smart/investment/close/post.ts> (a function with typed inputs; its response is checked against the schema)

The endpoint closes active investment.

Early closure is allowed and carries no penalty — the request either succeeds or returns one of the documented errors.

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

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

## Request body

- object
  - `id` string, required: Investment identifier
  - `request` string, required: Request signature
  - `nonce` integer, required: Unique request identifier

## Response `200`

Investment closed successfully

- object

## Other responses

- `400`: Request validation failed
- `422`: Inner validation failed

---

[API](https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4.md) - [All operations](https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4/revisions/76c9def9942f?raw)
