Skip to main content
Convert Confirm

Used in these guides

  • Payment Integration — crypto deposits, withdrawals, conversion, WhiteBIT Codes, and Express Withdraw.

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

Signing fields added to the body when the request is signed. These fields are not conversion parameters. See First API Call for the signing flow.

quoteId
string
required

Quote ID returned by Convert Estimate. An integer, sent as a JSON number or a numeric string. Allowed range: 1 to 100000000000; a value below the range returns 422 with code 30.

Example:

"4050"

nonce
integer

Nonce for request

Example:

1699260637

request
string

Request path

Example:

"{{request}}"

Response

Successful response

finalGive
string

Final amount given

Example:

"0.00002901"

finalReceive
string

Final amount received

Example:

"1"