Skip to main content
The withdrawal-address whitelist is an opt-in, per-wallet allowlist of destination addresses. It is independent of 2FA — the two features stack, but neither implies the other — and the same endpoints serve the web app (user sessions) and API-key integrators.
Opt-in. With zero entries the whitelist is not configured and withdrawals are unrestricted by destination. Add one entry and the wallet flips to allowlist mode: from then on, withdrawals are permitted only to listed addresses.
No cooldown for your own changes. An address added in the web app is usable on the very next withdrawal. Once the owner’s-signature check is enforced, an address added with an API key to a whitelist that already has an entry waits first (see Waiting period).

When it is enforced

The destination check at withdraw time runs only when the platform has withdrawal-security enforcement enabled (a server-side flag, off by default during rollout) and the caller is not a partner_sso integration of an active partner (exempt; the users of a partner that is no longer active are not exempt). You can manage the list at any time regardless of enforcement. This whitelist is a separate control from the AML / sanctions screen and the high-value review routing, which always run in withdrawal review. Withdrawals are not restricted to addresses that deposited before.

Endpoints

Mutating endpoints (POST, DELETE) require the broad vault:write scope. The narrow withdraw:write scope is limited to requesting and cancelling withdrawals and cannot mutate the whitelist. Multi-wallet partner keys must send the X-User-Wallet header naming the acting wallet.

Listing

GET /api/me/withdrawal-security/whitelist
An empty addresses array means the whitelist is not configured (unrestricted withdrawals). activeFrom is when the address becomes usable as a withdrawal destination: null or a time in the past means usable now; a future time means it is still in its waiting period (set only on an address added with an API key, under enforcement, to a whitelist that already had an entry). The value is not cleared when the period ends. A whitelist with entries is configured whether or not they are usable yet.

Adding

POST /api/me/withdrawal-security/whitelist
string
required
Destination EVM address (0x + 40 hex). Any case is accepted (lowercase, uppercase-hex, or EIP-55 checksum) and stored lowercase. Invalid format → 400 invalid_address.
string
Optional human label (≤ 100 chars), e.g. "My Cold Storage".
Returns the created entry (201, the same shape as a list entry, with activeFrom). Constraints:
  • Duplicate (wallet, address) → 409 address_already_whitelisted.
  • Cap of 50 entries per wallet → 409 whitelist_limit_reached.
From a web session, add/remove are plain authenticated calls (no 2FA). The 2FA gate at withdraw time authorises moving funds, so a hijacked session that adds an address still cannot withdraw to it without the authenticator (when 2FA is active). Changes made with an API key also carry the owner’s signature.

Removing

DELETE /api/me/withdrawal-security/whitelist/{id} removes one entry by its id, scoped to the owner. Unknown or non-owned id → 404 whitelist_address_not_found. Returns 204 No Content.

At withdraw time

When the whitelist is configured, the withdraw request’s destination (POST /api/withdrawals/request) must match a listed address (case-insensitive), otherwise:

Compliance holds

During an active account suspension, moratorium, or withdrawal hold:
  • Adding an address to an already-configured whitelist is refused (403 ACCOUNT_PAUSED or 403 account_blocked) to prevent opening new cash-out routes.
  • Adding the first address is permitted because it turns the whitelist on, strengthening security.
  • Removing the last address is refused because removing it would disable allowlist mode.
  • Removing one of several addresses is permitted because it narrows the allowed destinations.

API-key callers

A multi_wallet partner manages the list per end-user wallet via X-User-Wallet + vault:write. On the very first request for a freshly-seen wallet, add may return 409 account_provisioning while partner-backed onboarding finishes writing the user record — retry after a moment.

Owner signature on changes made with an API key

Being rolled out (RND-2639). The platform first runs this check in observation mode: a proof that is sent is verified and recorded, and a change made without it is still accepted (and recorded as such), with no waiting period and no last-address rule. Once enforcement is switched on, everything in this section applies. Start sending the proof now.
POST …/whitelist and DELETE …/whitelist/{id} made with an API key carry the wallet owner’s EIP-712 WithdrawalSecurityChange signature: the same domain, type, headers (X-Owner-Signature, X-Owner-Signature-Nonce, X-Owner-Signature-Deadline), single use once enforced and refusals as the 2FA changes. What is signed: When 2FA is active on the wallet, a whitelist change made with a key also sends the current 6-digit code (or a backup code) in X-Totp-Passcode. It is verified like a withdrawal’s code (single use, the same lockout): 403 totp_required when it is missing, 403 totp_invalid when it is wrong or not a 6-digit / 16-hex code. On a signed request the route’s own refusals (400 address errors, 409 address_already_whitelisted / whitelist_limit_reached, 404 whitelist_address_not_found, 409 whitelist_last_active_address, a hold) are answered before the signature and the code are spent. A key that sends no signature gets 403 owner_signature_required instead of the 404 / 409 / hold answers (a malformed address or id is still a 400).

Waiting period for addresses added with an API key

Once enforcement is on, an address added with an API key to a whitelist that already has at least one entry becomes usable only after a waiting period (24 hours by default). It is listed at once with activeFrom set; until then a withdrawal to it is refused with 403 withdrawal_address_pending (error.details.activeFrom) wherever the withdraw-time check runs (see When it is enforced). The first address of an empty whitelist is usable at once, because it only narrows where money may go. Addresses added from a signed-in session (the web app or a partner SSO session) never wait.

The whitelist is never emptied with an API key

Once enforcement is on, DELETE …/whitelist/{id} made with an API key is refused with 409 whitelist_last_active_address when the entry is the last usable address, or the last address of any kind. Removing it would turn the whitelist off; that stays a web-session or support action.

Change notices

Every whitelist change that takes effect, on any channel, sends the wallet owner a Withdrawal security changed notice naming the full address, saying whether it was added (with the end of its waiting period, when it waits) or removed (and whether the whitelist is now empty), and whether the change was made in the app, in a partner app session or with an API key. It is a service notice: delivered in-app, by push and by e-mail regardless of notification settings (a wallet with no e-mail address gets it in-app and by push only). A refused change sends none. The notice is best-effort; the change stands if it cannot be delivered.

Next

Withdrawal 2FA

The TOTP second factor that stacks with the whitelist.

Withdrawals overview

The full dual-sig withdrawal flow.

Error codes

Every withdrawal-security code in one table.

State machine

All states and transitions.