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. CORE
  2. Balances

Bulk Balance Query

Last updated 1 year ago

Was this helpful?

CtrlK

Was this helpful?

The GET /balance method is used to query multiple balances simultaneously.

Example of querying balances in batch:

Response example:

GET /balance?ids=[<balance ids>]
{
  "data": [
    {
      "id": "19720852-be40-489a-a3b3-985f51a0458c",
      "currency": "brl",
      "amount": 500,
      "seq_num": 15,
      "created_at": "2023-06-05T11:26:17.325Z"
    }
  ]
}