Skip to main content
POST
Create ledger account

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string
required

Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.

Required string length: 1 - 255

Body

application/json
name
string
required

Display name (such as Mercury Checking).

type
enum<string>
required

Account type.

Available options:
Asset,
Liability,
Equity,
Income,
Expense

Ignored. Ledger accounts belong to the organization, not to a legal entity.

sequence_number
integer

Account number in the chart of accounts.

parent_account_id
string

Prefixed parent account ID. Omit for top-level.

is_clearing_account
boolean

Marks the account as a clearing or suspense account. Defaults to false.

asset_type
string

Token or currency type (such as ETH, USD).

Response

Created.

data
object
required