Skip to main content
POST
/
api
/
v4
/
main-account
/
codes
/
my
Get my codes
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/codes/my \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{ "total": 15, "data": [ { "amount": "0.002", "code": "WBe11f4fce-2a53-4edc-b195-66b693bd77e3ETH", "date": 1598296332, "status": "Activated", "ticker": "ETH", "external_id": "cf7c3ff8-5eb0-11ed-9b6a-0242ac120002" } ], "limit": 30, "offset": 0 }

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
request
string
required

Request signature

Example:

"{{request}}"

nonce
string
required

Unique request identifier

Example:

"{{nonce}}"

limit
integer
default:30

LIMIT is a special clause used to limit records a particular query can return.

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

30

offset
integer
default:0

Use the OFFSET clause to return entries starting from a particular line.

Required range: 0 <= x <= 10000
Example:

0

Response

All validations succeeded and creating transaction is started

total
integer

Total number of codes

data
object[]
limit
integer
offset
integer