v1
latestOpenAPI 3.0.32026-07-2613529376.3 KBCodes
Apply code
The endpoint applies WhiteBIT code.
<Warning> Rate limit: 60 requests/1 sec. </Warning> <Note> The API does not cache the response. </Note> <Note> To avoid leaking whether a code exists, most failure modes — invalid format, expired, non-existent, or wrong passphrase — collapse to one generic rejection on field `code`. Only two cases are distinguishable at the API surface: a code that has already been applied, and a code created by the same account. </Note>post/api/v4/main-account/codes/apply
Request body
Example request
{
"code": "WBe11f4fce-2a53-4edc-b195-66b693bd77e3ETH",
"passphrase": "some passphrase",
"request": "{{request}}",
"nonce": 1594297865000
}Response
All validations succeeded and creating transaction is started