Skip to main content
POST
/
api
/
v4
/
main-account
/
smart-flex
/
investments
/
auto-invest
Update Flex Auto-Reinvestment
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/smart-flex/investments/auto-invest \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "enabled": true,
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{
  "data": []
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
plan
string
required

Plan external ID (UUID).

request
string
required

Request signature

nonce
string
required

Unique request identifier

enabled
boolean
default:false

Enable or disable auto-reinvestment.

Response

Auto-reinvestment updated successfully

data
any[]