Account types
Main balance — The primary holding account. Deposits arrive here. Withdrawals leave from here. Lending (U EARN) investments are held in Main. Main balance is not used for direct trading.- Endpoint:
POST /api/v4/main-account/balance— API Reference
available amount (ready to trade) and a freeze amount (locked in open orders).
- Endpoint:
POST /api/v4/trade-account/balance— API Reference
- Endpoint:
POST /api/v4/collateral-account/balance— API Reference
API naming convention: WhiteBIT’s API uses “collateral” endpoints for both
Margin and Futures trading. The market pair determines the product:
spot pairs (e.g.,
BTC_USDT) for Margin, perpetual pairs (e.g., BTC_PERP)
for Futures. All endpoints under /api/v4/order/collateral/ and
/api/v4/collateral-account/ serve both products.Fund flow
Transfers between account types use a single endpoint and are instant and fee-free.- Transfer endpoint:
POST /api/v4/main-account/transfer— API Reference
method parameter:
deposit— Main → Tradewithdraw— Trade → Maincollateral-deposit— Main → Collateralcollateral-withdraw— Collateral → Main
Available vs. frozen balance
Each balance entry includes two fields:| Field | Description |
|---|---|
available | Funds ready to use for new orders or transfers |
freeze | Funds locked by open orders or pending operations |
available + freeze. Only available funds can be transferred or used to place orders.
USDTB (bonus collateral)
USDTB is a bonus collateral token used for futures trading. USDTB cannot be deposited or withdrawn — the platform grants USDTB as a bonus asset. USDTB appears in the Collateral balance and counts toward futures margin requirements.Deposit flow
- Generate a deposit address. Use
POST /api/v4/main-account/create-new-address(API Reference) to generate a unique address per request, orPOST /api/v4/main-account/address(API Reference) to retrieve a persistent reusable address. Alternatively, create an address through the platform UI. - Send crypto to the generated address.
- Funds arrive in Main balance after blockchain confirmations. Confirmation requirements vary by asset.
- Transfer from Main to Trade (for spot orders) or to Collateral (for margin/futures positions).
Withdrawal flow
- Ensure funds are in Main balance — transfer from Trade or Collateral if needed.
- (Optional) If the held currency differs from the withdrawal currency, transfer to Trade balance, convert via the Convert feature, and transfer back to Main balance. See Payment Integration for the full withdrawal-with-conversion flow.
- Submit a withdrawal request via
POST /api/v4/main-account/withdraw. - Withdrawal processes after security checks complete.
EEA users: Crypto withdrawals require a
travelRule object with beneficiary
information (name, address, VASP). Deposits may be held for Travel Rule
verification (status codes 27, 28). See Regulatory Compliance
for full details.What’s Next
Authentication
Generate API keys and sign requests.
First API Call
Choose an integration path.
Account & Wallet API
Full endpoint documentation for balances, deposits, and withdrawals.