Skip to main content
POST
/
api
/
card-token
Issue card token
curl --request POST \
  --url https://fgw.whitebit.com/api/card-token \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --header 'X-TXC-PAYLOAD: <api-key>' \
  --header 'X-TXC-SIGNATURE: <api-key>' \
  --data '
{
  "cardNumber": "4111111111111111"
}
'

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

Target card number

Example:

"4111111111111111"

Response

Validation succeeded and card token is returned