Skip to main content
POST
Create code

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
ticker
string
required

Currency's ticker. Example: BTC

Example:

"ETH"

amount
string
required

Amount to transfer. Max precision = 8, value must be greater than zero and less than or equal to the main balance.

Example:

"0.002"

request
string
required

Request signature

Example:

"{{request}}"

nonce
string
required

Unique request identifier

Example:

"{{nonce}}"

passphrase
string

Passphrase for applying WhiteBIT codes. Passphrase must contain only latin letters, numbers and symbols (like !@#$%^, no whitespaces). Max: 25 symbols.

Maximum string length: 25
Example:

"some passphrase"

description
string

Additional text description for code. Visible only for creator. Max: 75 symbols.

Maximum string length: 75
Example:

"some description"

Response

All validations succeeded and creating transaction is started

code
string

Generated WhiteBIT code

message
string

Success message

external_id
string

External identifier