> ## Documentation Index
> Fetch the complete documentation index at: https://docs.campfire.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bank Account Totals

> Current balance per currency of the accounts in the cash total: everything except credit cards, loans, liability accounts and disconnected Plaid accounts.



## OpenAPI

````yaml https://api.meetcampfire.com/api/schema?format=json get /ca/api/account/totals
openapi: 3.0.3
info:
  title: Campfire Developer APIs
  version: 1.0.0
  description: >
    ## Introduction

    Campfire's developer APIs offer granular access to Campfire's core
    accounting,

    revenue recognition, and financial data features.


    These APIs are designed to be used by developers to build custom
    integrations,

    automate workflows, and perform any other programmatic operations.


    ## Rate limits

    API users can make up to **10 requests per second**. This limit is shared
    across

    all endpoints for the same API user. OAuth app tokens get the same limit,

    counted separately for each app connection. Requests that exceed the limit
    receive a

    `429 Too Many Requests` response. Wait for the number of seconds specified
    in

    the `Retry-After` response header before retrying.
servers:
  - url: https://api.meetcampfire.com
    description: Production server
security: []
tags:
  - name: Cash Management
    description: Operations related to accounts, transactions, and other bank-related data.
  - name: Core Accounting
    description: >-
      Operations related to core accounting data, such as the chart of accounts,
      entity management, and the general ledger.
  - name: Revenue Recognition
    description: >-
      Operations related to revenue recognition, contract management, and
      contract data aggregation.
  - name: Accounts Receivable
    description: Operations related to invoicing and the AR subledger
  - name: Accounts Payable
    description: Operations related to billing and the AP subledger.
  - name: Financial Statements
    description: Operations related to financial statement generation and data aggregation.
  - name: Settings
    description: Operations related to system and accounting settings configuration.
paths:
  /ca/api/account/totals:
    get:
      tags:
        - Cash Management
      summary: Bank Account Totals
      description: >-
        Current balance per currency of the accounts in the cash total:
        everything except credit cards, loans, liability accounts and
        disconnected Plaid accounts.
      operationId: bank_account_totals_retrieve
      parameters:
        - in: query
          name: include_deleted
          schema:
            type: boolean
            default: false
          description: >-
            When set to 'true', returns ONLY deleted records instead of active
            records. Deleted records contain minimal data: 'id',
            'is_deleted=true', 'deleted_at' timestamp, and 'last_modified_at'.
            When 'false' or omitted, returns ONLY active records. This provides
            clean separation between active and deleted data.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BankAccountTotals'
          description: ''
components:
  schemas:
    BankAccountTotals:
      type: object
      properties:
        cash_totals:
          type: array
          items:
            $ref: '#/components/schemas/BankAccountCurrencyTotal'
      required:
        - cash_totals
    BankAccountCurrencyTotal:
      type: object
      properties:
        currency:
          type: string
        current_balance:
          type: number
          format: double
        account_count:
          type: integer
      required:
        - account_count
        - currency
        - current_balance

````