POST
/
v1
/
accounts

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Enter 'Bearer ' [space] and then your token in the text input below.

Headers

request-id
string

Optional client generated identifier to trace and debug a request.

correlation-id
string

Optional client generated identifier to trace and debug a series of requests.

Body

organization_id
string
required

The unique identifier of the organization related to this account.

account_type
enum<string>
required

The type of account to be created. Currently only 'business' is supported.

Available options:
unknown,
business
business_profile
object
required
access_level
enum<string>
required

The desired access level for the new account. Possible values: 'managed', 'standard'.

Available options:
standard,
managed
metadata
object | null

Up to 20 additional user-defined key-value pairs. Useful for storing additional information about the account in a structured format.

external_id
string | null

Unique identifier for the account in your database, used for cross-referencing between Straddle and your systems.

Response

201
text/plain
Created
meta
object
required
response_type
enum<string>
required

Indicates the type of data returned.

Available options:
object,
array,
error,
none
data
object
required