Create account
Create a new sub account under the calling merchant. account_type is required — choose between an owned/personal_managed sub account (created active, no KYB — personal_managed behaves the same as owned) and a business_managed sub account (created inactive and requiring BOSS KYB approval before it can transact). The calling merchant’s own primary dashboard login is always granted access to the new account automatically. invite_members is optional — pass additional member emails to grant them access too; if omitted, only the primary merchant has access. For a business_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"
Required. Sub account type. owned/personal_managed create the account active immediately (no KYB). business_managed creates the account inactive and requires BOSS KYB approval before the account can transact.
owned, personal_managed, business_managed "owned"
Optional. Array of additional merchant member email addresses to grant access to this account, on top of the calling merchant's own primary dashboard login (always granted access automatically, whether or not this field is provided). All emails must belong to registered members of the merchant. If omitted, only the primary merchant has access.
50