POST
/
v1
/
companies
/
{company_id}
/
accounts
/

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

company_id
string
required

Body

application/json
name
string
required
email
string
required
metadata
object
stripe_id
string

If a Stripe customer ID already exists for this account, pass it in here, otherwise we'll make one.

plan_id
string

If you specify a plan then all appropriate denominated treasury accounts are created and all parameters are preset

Response

200 - application/json
data
any