Create account
Create a new sub account under the calling merchant. Use account_type to choose between an owned/partner sub account (created active, no KYB — partner behaves the same as owned) and a managed sub account (personal_managed/business_managed, created inactive and requiring BOSS KYB approval before it can transact). invite_members is optional but recommended — pass at least one member email to grant dashboard access. If omitted, no members are assigned. For every managed sub account, data.kyb_onboarding_url carries a link to forward to the sub-merchant so they can self-submit their KYB data (individual/company is chosen on that onboarding page itself). Save this URL, as it becomes null once KYB is verified; it can also be re-fetched anytime via GET /accounts/{id} or GET /accounts while KYB is still pending.
Authorizations
JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.
Merchant API key (Credential.api_key). Required on every request.
Body
3 - 100"John Doe"
Optional. Sub account type. owned/partner create the account active immediately (no KYB). personal_managed/business_managed create the account inactive and require BOSS KYB approval before the account can transact. Defaults to owned-style behavior when omitted.
owned, partner, personal_managed, business_managed "owned"
Optional but recommended. Array of merchant member email addresses to grant access to this account. All emails must belong to registered members of the merchant. If omitted, no members are assigned.
50