Banking

Update bank account settings

Partial update of bank-account settings (name, number, institution, type, active flag, chart mapping, and lowBalanceThreshold — integer cents, null clears the low-balance alert). chartAccountId must belong to the company. Remapping is refused with 409 while the current chart account has posted entries, because they would stay behind.

patch/bank-accounts/{bankAccountId}

Request

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

Path parameters

bankAccountIdstring uuid required

LedgerHQ bank account UUID

Request body

accountNamestring
accountNumberstring nullable
bankNamestring nullable
accountType'checking' | 'savings' | 'credit_card' | 'cash' | 'loan' | 'investment' | 'other'
chartAccountIdstring uuid nullable
isActiveboolean
lowBalanceThresholdinteger nullable

Low-balance alert threshold in cents; null clears it

Response

Updated bank account

Changes

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