Skip to main content
POST
Create an Automation
Use the playground below to try this endpoint directly, or review the OpenAPI details in the right panel.

Branded Automations

You can optionally include a brand object in the request body to select the verified identity (business or individual) that appears as the beneficiary on the automation’s funding instructions.
Default behavior is unchanged. If you omit brand, the beneficiary on funding instructions defaults to Brale. If you include brand.account_id, the beneficiary reflects that account’s verified business or individual identity instead.
The automation is still created under the account in the request path (/accounts/{account_id}/automations). brand.account_id does not change which account owns the automation — it only selects the identity shown on the funding instructions.

Example: branded automation request (business account)

Example: branded automation request (individual account)

Pass the account_id of a KYC-verified individual account to render that person’s legal name and address as the beneficiary. See Individual accounts for how to create one.
Once the Automation becomes active, source.funding_instructions.beneficiary_name and beneficiary_address in the response reflect the branded account’s verified identity (business name and address, or individual legal name and address). For more details on how branded Automations work, see the Automations concept page.

Authorizations

Authorization
string
header
required

Use the Bearer token returned from the Auth endpoint via OAuth2 client_credentials flow. Include the token in the "Authorization: Bearer " header.

Headers

Idempotency-Key
string
required

A unique string used to prevent duplicate operations. Each POST request must use a new idempotency key. Use a UUIDv4 string. Example: idemp-123e4567-e89b-12d3-a456-426614174000

Path Parameters

account_id
string<ksuid>
required

The ID of the account

Pattern: ^[a-zA-Z0-9]{26}$
Example:

"2VcUIIsgARwVbEGlIYbhg6fGG57"

Body

application/json
name
string
required
Example:

"XYZ Onramp"

source
AutomationSource · object
required

The funding source for the automation. Defines the fiat rail and value type that the automation accepts. When the automation becomes active, funding_instructions is populated with the virtual account details to share with the payer.

destination
AutomationDestination · object
required

The destination wallet that receives minted stablecoins when the automation is funded.

brand
AutomationBrand · object

Optional. Selects the verified identity shown as the beneficiary on the automation's funding instructions. Pass the account_id of your own account or a managed account (business or individual). The automation is still created under the account in the request path; brand.account_id only controls the identity rendered on the funding instructions. If omitted, Brale is the default beneficiary.

Response

201 - */*

Automation successfully created

id
string<ksuid>
Pattern: ^[a-zA-Z0-9]{26}$
Example:

"2VcUIIsgARwVbEGlIYbhg6fGG57"

name
string
Example:

"XYZ Onramp"

status
enum<string>

The current lifecycle state of the automation.

Available options:
pending,
active,
disabled,
archived
Example:

"active"

source
AutomationSource · object

The funding source for the automation. Defines the fiat rail and value type that the automation accepts. When the automation becomes active, funding_instructions is populated with the virtual account details to share with the payer.

destination
AutomationDestination · object

The destination wallet that receives minted stablecoins when the automation is funded.

created_at
string<date-time>
Example:

"2024-01-15T12:34:56Z"

updated_at
string<date-time>
Example:

"2024-01-15T12:34:56Z"

brand
AutomationBrand · object

Optional. Selects the verified identity shown as the beneficiary on the automation's funding instructions. Pass the account_id of your own account or a managed account (business or individual). The automation is still created under the account in the request path; brand.account_id only controls the identity rendered on the funding instructions. If omitted, Brale is the default beneficiary.