Skip to main content
POST
/
api
/
v4
/
main-account
/
smart
/
investment
/
close
Close investment
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/smart/investment/close \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "id": "0d7b66ff-1909-4938-ab7a-d16d9a64dcd5",
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{}
These endpoints are available only for B2B partner services, you need to fill the form https://whitebit.com/institutional-services/b2b in order to get permissions to use these endpoints.

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
id
string
required

Investment identifier

request
string
required

Request signature

nonce
string
required

Unique request identifier

Response

Investment closed successfully

The response is of type object.