Skip to main content
POST
/
api
/
v4
/
collateral-account
/
hedge-mode
/
update
Update Collateral Account Hedge Mode
curl --request POST \
  --url https://whitebit.com/api/v4/collateral-account/hedge-mode/update \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "hedgeMode": true,
  "request": "<string>",
  "nonce": "<string>"
}
'

Authorizations

X-TXC-APIKEY
string
header
required

API Key authentication for private endpoints.

Required headers:

  • X-TXC-APIKEY: Your API key
  • X-TXC-PAYLOAD: Base64 encoded JSON payload
  • X-TXC-SIGNATURE: HMAC SHA512 signature

Body

application/json
hedgeMode
boolean
required
request
string
required
nonce
string
required

Response

200

Hedge mode updated