Create a Wallet
Create a named wallet for one of your end users.
Provide a unique name (per user) and the currency. Pass
make_primary=true to atomically promote this wallet to the user’s
primary in that currency (the previous primary is demoted in the same
transaction). The user’s first wallet in a currency is always primary
regardless of this flag.
Master wallets cannot be created here — they are auto-provisioned at tenant bootstrap.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Platform-realm (OAuth2 client) wallet creation payload.
Integrators provision wallets for their end users via this surface.
Unlike the tenant-realm payload, user_id is always required — the
OAuth2 client acts on behalf of the platform itself, not a logged-in
user.
End-user UUID owning the wallet.
Human-readable label, unique per (tenant, user).
1 - 60ISO 4217 currency code.
3If true, atomically demotes the existing primary wallet in (user, currency) and promotes this new one. The user's first wallet in a currency is always primary regardless of this flag.
Optional client-provided idempotency key.
1 - 120Response
Successful Response
Standard response wrapper for single-object responses and errors.
Generic over the payload type. A route that declares
CommonResponse[SomeModel] gets the real data schema rendered in
OpenAPI/Swagger; a bare CommonResponse leaves data untyped.

