Skip to main content
Change Collateral Account Leverage

Authorizations

X-TXC-APIKEY
string
header
required

The public WhiteBIT API key.

X-TXC-PAYLOAD
string
header
required

Base64-encoded JSON request body.

X-TXC-SIGNATURE
string
header
required

HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).

Body

application/json
leverage
integer
required

Target leverage level: 1, 2, 3, 5, 10, 20, 50 or 100. Coming soon: trading restrictions can set a lower maximum for the account. The market's max_leverage also applies.

Required range: 1 <= x <= 100
Example:

5

request
string
required
Example:

"{{request}}"

nonce
integer
required
Example:

1594297865000

Response

Successful response - leverage changed

leverage
integer

Active leverage level for the collateral account after the update, from 1 (no leverage) to 100

Example:

5