POST

https://{environment}.straddle.io

/
v1
/
accounts

Authorizations

Authorization
string
headerrequired

Use your Straddle API Key in the Authorization header as Bearer <token> to authorize API requests.

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:
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
meta
object
required
response_type
enum<string>
required

Indicates the type of data returned.

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