Initialize Account
The Create Account API endpoint adds a new account to the specified ledger. Each account can have a unique reference, which serves as a readable ID or account address. While optional, this reference provides an easy way to identify the account in subsequent operations. Accounts can hold multiple assets and are used to track balances and participate in transactions within the ledger.
Headers
The Basic Authentication header. Format: "Basic {base64(orgID:apiKey)}"
Path Parameters
The key of the ledger. Examples:
- "123e4567-e89b-12d3-a456-426614174000"
- "id:123e4567-e89b-12d3-a456-426614174000"
- "ref:ledger:customer_a"
Body
The externally defined reference of the accoun. Generally speaking this reference can be in the format of your choice. We recommend either using a UUID that can be mapped internally, or a unique reference that acts like an address, such as internal:revenue:fx, or internal:exchange
1
The default asset for the account. A fallback asset for an account against which accounts can be reconciled
1
The enabled assets for the account, in addition to the default asset
Additional, optional, metadata for the account, such as internal references, user-mappings or other data
Response
The unique identifier of the account
The externally defined reference of the account
1
The default asset for the account
1
The enabled assets for the account with asset rules such as min/max balances
The status of the account, defaults to ACTIVE
ACTIVE
, INACTIVE
, INACTIVE
Additional, optional, metadata for the account