Ledgera
ledgera.io
  • Introduction
  • Documentation Structure
  • CORE
    • Currencies
    • Balances
      • Balance Creation
      • Balance Query
      • Bulk Balance Query
      • Balance Statements Query
    • Transactions
      • Transaction Creation
      • Transaction Query
      • Entries
  • SETUP
    • Account Rules
    • Chart of Accounts
    • Execution Rules
    • Authorization Rules
    • Billing Plan
      • Custom Entries
  • REGISTER
    • Accounts
      • Account Creation
      • Account Updates
      • Account Query
        • Account Balance Query
        • Account Bulk Balance Query
        • Account Statements Query
  • OPERATION
    • Execution
    • Authorization / Confirmation
    • Split
    • Balance Sheet
  • REPORT
    • Request a report
    • Report Query
  • MULTI-TENANCY
    • Tenant Query
Powered by GitBook
On this page
  1. REGISTER
  2. Accounts

Account Updates

Last updated 1 year ago

Was this helpful?

CtrlK
  • Adding currencies
  • Updating Billing Plan

Was this helpful?

Adding currencies

The user can add currencies to an account using the POST /account/{id}/currency method. The balance types determined for that account will be created with a value of zero for the specified currencies as configured in the Account Rules. This operation cannot be undone.

Example of adding currencies to an account:

Updating Billing Plan

The user can update the billing plan ID associated to an account using the PUT /account/{id}/billing_plan/{id} method.

Exemple:
POST /account/19720852-be40-489a-a3b3-985f51a0458c/currency

{
  "currencies": [
    {
      "currency": "usd"
    }
  ]
}
PUT /account/19720852-be40-489a-a3b3-985f51a0458c/billing_plan/63675928-9e9d-4e20-8259-bdb3146f53dc