Skip to main content
Apply code

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
code
string
required

Code that will be applied.

Example:

"WBe11f4fce-2a53-4edc-b195-66b693bd77e3ETH"

request
string
required

Request signature

Example:

"{{request}}"

nonce
integer
required

Unique request identifier

Example:

1594297865000

passphrase
string

Should be provided if the code was created with passphrase. Max: 25 symbols.

Maximum string length: 25
Example:

"some passphrase"

Response

All validations succeeded and creating transaction is started

message
string
ticker
string
amount
string
external_id
string