Create a control account

Create a new control account under a capital account.

Required permissions: account:create.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

X-Penny-As-Businessstring or nullOptional

Act on behalf of another business that has granted you access. Requires the business:act_as permission.

Request

This endpoint expects an object.
source_capital_account_idstringRequired
Unique identifier of the capital account to which this control account is linked. This account will act as the funds source for the control account.
parent_control_account_idstringOptional

Optional parent Control Account. When set, the new account is created within that account’s hierarchy; when omitted, it is created directly under the source Capital Account.

aliasstring or nullOptional<=64 characters

Optional human-readable label for the account.

descriptionstring or nullOptional<=256 characters
Optional description of the account's intended use.
spend_control_idstringOptional
Optional spend control to attach at creation.
activebooleanOptionalDefaults to true
Whether the account is created in an active state.

Response

The newly created control account.
account_idstring
Unique identifier for the account.
versioninteger
The current version of the account record.
version_timedatetime

ISO-8601 timestamp of the most recent account update.

program_idstring
The identifier of the program associated with this account.
business_idstring
The identifier of the business associated with this account.
business_entity_idstring
The identifier of the business entity associated with this account.
statusenum
The current operational status of the account.
Allowed values:
activeboolean
Whether the account is currently active and available for use.
currencyenum

ISO-4217 currency code for the account.

Allowed values:
capital_account_idstring
The capital account from which this control account draws funds.
aliasstring or nullOptional
An optional label for the account.
descriptionstring or nullOptional
An optional description of the account's purpose.
typeenumOptionalDefaults to control

Account types exposed to client-facing API responses.

Allowed values:
parent_account_idstring or nullOptional
The identifier of the parent account if this account is part of a hierarchy.
spend_control_idstring or nullOptional
The identifier of the spend control applied to this account.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error