- End customers keep personal WhiteBIT accounts and the partner holds a user-scoped API key (trading bots, copy trading, portfolio apps) — see Fast API Key via OAuth.
- The choice between backend models (managed sub-accounts, attribution, KYC reliance) is still open — see Wallet-as-a-Service.
- The integration centers on deposits, withdrawals, payouts, or merchant flows — see Payment Integration. Corporate fiat ↔ crypto conversion on the partner’s own account is covered by the On/Off-Ramp Guide.
- For the full partner-type map, see Partner Solutions.
Prerequisites
Before building the sub-account integration:- Approved Embedded Trading enrollment — the program is approval-gated (see Eligibility and approval); apply via
institutional@whitebit.com. - Master-account KYB — completed through Institutional Onboarding.
- API access — HMAC-signed requests on the master account; store the secret per Security Best Practices.
- Model fit — this is Model A (partner-operated sub-accounts); confirm against the integration models concept.
Eligibility and approval
Embedded Trading enrollment is approval-gated. Every application is individually reviewed before sub-account provisioning is enabled. How to apply: emailinstitutional@whitebit.com with a description of the service. Include the registered legal entity (name, registration number, jurisdiction), licenses or registrations held (with the regulator and register reference), the intended account structure, who performs end-customer KYC, crypto-only or fiat scope, and the countries where the service is offered or marketed. The full application question list is on the Partner Solutions page. Master-account KYB via Institutional Onboarding is part of enrollment.
The end-customer KYC verification flow is WhiteBIT-branded and cannot be white-labeled.
Program terms
The revenue share is up to 40% of the trading fees generated by referred customers. Whether the share covers spot trading fees only or extends to other products is part of the commercial terms; the reconciliation walkthrough below computes on spot executed-history. The applicable rate and any additional commercial terms are agreed individually during enrollment; the canonical program terms are published on the Embedded Trading program page. Joint marketing activities — social media co-posts, blog posts, targeted email newsletters, AMA sessions, and trading competitions — are scheduled with WhiteBIT during onboarding. Referral-based earning without operating customer accounts is covered by the separate WhiteBIT Affiliate Program, which has its own terms.Account architecture
Each end customer trades from a dedicated sub-account under the partner’s master account:- Independent balances, scoped at creation via
permissions.spotEnabledandpermissions.collateralEnabled. Trades on one sub-account do not affect another. - Up to 50 API keys per sub-account, independent from the main account and from other sub-accounts, each with an IP whitelist and permission scope.
- Sub-account count per master — the number of sub-accounts a master account can create is not a fixed published limit; confirm the ceiling that applies to the account with WhiteBIT during enrollment.
- Withdrawal control at the master account — sub-account withdrawals surface on the master account for confirmation via the unconfirmed-withdrawals list and confirm endpoints. The sub-account withdrawal endpoints are not available by default — request access via
institutional@whitebit.com; a404response indicates the endpoints are not yet enabled for the account. - Crypto deposits are disabled by default. Once deposits are enabled for the account (request via the assigned account manager or
institutional@whitebit.com), the capability applies to the account and its sub-accounts; a sub-account then generates deposit addresses through the standard deposit address endpoint using its own API key with deposit permission.
The sub-account endpoints in the table above share a rate limit of 1000 requests per 10 seconds;
POST /api/v4/trade-account/executed-history allows 12000 requests per 10 seconds — see Rate limits.
Transfers between the master account and any sub-account are fee-free in both directions — master-to-sub for funding a customer account, sub-to-master for revenue collection. See the Sub-Accounts Overview for the full product reference.
Customer onboarding flow
The KYC branch is selected at creation via theshareKyc parameter: with shareKyc: true the sub-account shares the master account’s verification and no separate customer KYC applies; with shareKyc: false (or omitted) the email field is required and the end customer completes verification individually.
Steps 2–3 apply to the dedicated-KYC branch (
shareKyc: false or omitted). With shareKyc: true, the sub-account shares the master account’s verification — skip directly to Step 4 (Fund the account and enable trading) once the sub-account is created.1
Create the sub-account
Call
POST /api/v4/sub-account/create with alias and the permissions object (spotEnabled, collateralEnabled), plus email when shareKyc is false or omitted — API Reference.2
Wait for activation (dedicated-KYC branch)
A KYC URL can be generated only for a sub-account that is activated (has an associated user), active, and does not use shared KYC. Poll
POST /api/v4/sub-account/list and read the status and userId fields for the new sub-account — API Reference. Calling kyc-url before activation returns 400 "Account is not confirmed".3
Generate the KYC URL and pass it to the customer
Call
POST /api/v4/sub-account/kyc-url with the sub-account id — API Reference. The end customer opens the temporary link and completes the WhiteBIT-branded identity verification. Track the sub-account state via the list endpoint.4
Fund the account and enable trading
Transfer initial funds fee-free via
POST /api/v4/sub-account/transfer, and create a dedicated API key via POST /api/v4/sub-account/api-key/create for customers needing direct API access.5
Handle deposits and withdrawals
Once crypto deposits are enabled for the account, the sub-account generates its own deposit address via the deposit address endpoint using its own API key with deposit permission. Sub-account withdrawals require master-account confirmation — see Account architecture above for the unconfirmed-withdrawals list and confirm endpoints.
- curl
- Python
Per-customer API keys
Each sub-account supports up to 50 API keys, managed via the sub-account API key endpoints (create, edit, delete, list, reset) with dedicated IP-address management.- Assign the minimum permission set per key (
Info + Tradingfor trading-only customers; deposit and withdrawal permissions only where funds movement is required) — see Security Best Practices for the permission model and key-handling rules. - Configure the IP whitelist per key to match the customer’s infrastructure.
clientOrderId naming conventions — see Client Order ID: account-operator implementation.
Revenue monitoring
Embedded Trading does not expose a dedicated fee-share endpoint. Earnings are reported through the WhiteBIT Analytical Dashboard, which tracks referral statistics and trading volumes. Payout mechanics and settlement schedule are agreed during enrollment. Programmatic reconciliation:- List sub-accounts via
POST /api/v4/sub-account/list. - For each sub-account, query trade history via
POST /api/v4/trade-account/executed-historyusing the sub-account’s own API key — API Reference. - For each executed deal, multiply the fee charged by the agreed fee-share percentage.
- Sum across all sub-accounts to produce earnings for the reporting window.
Fiat operations
Fiat deposits and withdrawals (EUR/SEPA) operate at the partner’s master-account level and require institutional fiat access — the second phase of Institutional Onboarding, completed through a fiat processing partner review. Sub-accounts support crypto operations; sub-account balances are funded and collected through fee-free internal transfers with the master account. See Payment Integration for fiat endpoint details.Testing
WhiteBIT has no public testnet or sandbox. Validate the full flow — sub-account creation, KYC, per-customer keys, funding, and a first trade — on the live API using a test sub-account and minimum order sizes. Activate Demo Tokens (DBTC/DUSDT) for risk-free spot practice on the DBTC_DUSDT pair, and check per-asset minimums via the Asset Status endpoint before placing orders. Sub-account creation, KYC, fee-free transfers, and revenue reconciliation can all be exercised on this test cohort before real customers are onboarded. Work through the Go-Live Checklist first.
Integration checklist
- Application — application sent to
institutional@whitebit.comwith the intake details and approved. - Master account KYB — KYB verification completed for the partner entity.
- Master API key — master account API key created with appropriate permissions.
- Sub-account creation — test sub-account created with the intended
permissionsscope and KYC branch. - Activation and KYC — sub-account activation observed via
sub-account/list; KYC URL generated and completed (dedicated-KYC branch). - Deposit enablement (if per-customer deposits apply) — crypto-deposit enablement requested via the account manager or
institutional@whitebit.com. - Fund transfer — fee-free transfer between master and sub-account verified in both directions.
- Per-customer API key — API key created for a sub-account with IP whitelist configured.
- Balance monitoring —
sub-account/balancesquery working across all sub-accounts. - Revenue reconciliation — per-sub-account trade-history collection and fee-share computation in place.
- Fiat access (if applicable) — institutional onboarding Phase 2 completed for SEPA access on the master account.
- Security review — IP whitelists, key permissions, and secret storage reviewed per Security Best Practices.
- Go-live review — all items on the Go-Live Checklist verified.
What’s next
Sub-Accounts
Sub-account isolation model, transfer mechanics, and per-key permission scopes.
Institutional Onboarding
Step-by-step KYB and fiat onboarding process.
Go-Live Checklist
Pre-production readiness verification.