Banking

Create a bank or card register

Creates an organization-scoped operational register and optionally maps it to an existing chart account. Monetary balances are integer cents.

post/bank-accounts

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bank-accounts
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

accountNamestring required
accountNumberstring nullable
bankNamestring nullable
currencyCodestring
countryCodestring nullable
accountType'checking' | 'savings' | 'credit_card' | 'cash' | 'loan' | 'investment' | 'other'
colorstring
chartAccountIdstring uuid nullable
balanceinteger

Initial balance in integer cents

Response

Created bank account

Changes

No recorded changes to this operation across all 5 revisions of this API.