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.
The Basic Authentication header. Format: "Basic {base64(orgID:apiKey)}"
The key of the ledger. Examples:
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
1The default asset for the account. A fallback asset for an account against which accounts can be reconciled
1The 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
The request has succeeded.
The unique identifier of the account
The externally defined reference of the account
1The default asset for the account
1The 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