Prerequisites
- A WhiteBIT account with completed KYC (register)
- An API key with Trade permission and sub-account management capability (create key)
- Funds in Main balance (sub-account transfers draw from Main balance)
- HMAC-SHA512 signing configured (authentication guide)
curlandjqinstalled (for command-line examples)
Create a sub-account
Create a new sub-account with an alias and permissions.For Go and PHP examples, see SDKs.Required fields: Save the
- cURL
- Python
alias (display name), permissions (object with spotEnabled and collateralEnabled). When shareKyc is false or omitted, email is also required.Expected response:id value for subsequent steps.Transfer funds to the sub-account
Move assets from the main account to the newly created sub-account.Required fields:
- cURL
- Python
id (sub-account UUID), direction (main_to_sub or sub_to_main), ticker, amount. Transfers are instant and fee-free.Expected response:Create an API key for the sub-account
Generate a dedicated API key for the sub-account to enable independent trading.Required fields:
- cURL
- Python
subAccountId (UUID), type (1 = info and trading, 2 = info, trading, deposits, withdrawals). Optional: title (custom name for the key).POST /api/v4/sub-account/api-key/ip-address/create with the whitelist.
What’s Next
Sub-Accounts Overview
Integration patterns for fund managers, brokers, and prop trading firms.
Broker Guide
Fee share model up to 50%, sub-account-per-customer onboarding, KYC URL generation, and per-customer API keys with up to 50 IP addresses.