# Broker API

> Build embedded investing infrastructure with MyStocks accounts, funding, KYC, trading, events, reporting, and reconciliation.

The Broker API is the end-to-end partner workflow for embedding investing into your product. It combines customer sub-accounts, USD wallets, funding and withdrawals, partner-asserted KYC, trading, webhooks, reports, and production certification.

## Recommended sequence

1. [Get credentials and understand environments](/partners/docs/auth).
2. Complete [Getting Started with Broker API](/partners/docs/getting-started-broker) in sandbox.
3. Create and manage [sub-accounts](/partners/docs/sub-accounts).
4. Add [funding and withdrawals](/partners/docs/fund-flow).
5. Add [webhooks and SSE events](/partners/docs/webhooks).
6. Build [reconciliation and reports](/partners/docs/reports).
7. Submit [go-live evidence](/partners/docs/going-live).

## Broker capabilities

<Cards>
  <Card title="Account opening" href="/partners/docs/sub-accounts">Create, list, freeze, close, and inspect isolated customer accounts.</Card>
  <Card title="Funding" href="/partners/docs/fund-flow">Move funds with idempotent deposits, withdrawals, top-ups, and payouts.</Card>
  <Card title="Operations" href="/partners/docs/reports">Reconcile cash, positions, fees, dividends, and custody exports.</Card>
  <Card title="Events" href="/partners/docs/webhooks">Receive signed, at-least-once events and inspect delivery history.</Card>
</Cards>

For endpoint-level detail, use the [API Reference](/partners/docs/api-reference) or [API Tester](/partners/docs/api-tester).
