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

# List Ledger Accounts



## OpenAPI

````yaml GET /ledger-accounts
openapi: 3.0.3
info:
  title: Atlas API
  description: >
    Processor-agnostic payment orchestration API with Basis Theory for PCI-free
    tokenization.


    ## Authentication


    All API requests require authentication using an API key in the
    `Authorization` header:

    ```

    Authorization: Bearer sk_test_your_api_key

    ```


    ## Payment Methods


    Atlas supports multiple payment methods:

    - **Card**: Credit and debit cards tokenized via Basis Theory

    - **Apple Pay**: Native Apple Pay integration

    - **Google Pay**: Native Google Pay integration

    - **Bank Account (ACH)**: US bank account payments


    ## Environments


    - **Test**: Use `sk_test_` prefixed keys

    - **Live**: Use `sk_live_` prefixed keys
  version: 1.0.0
  contact:
    name: Atlas Support
    url: https://atlas.co/support
servers:
  - url: https://api.atlas.co/functions/v1
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: Sessions
    description: Payment session management
  - name: Payments
    description: Payment confirmation and processing
  - name: Customers
    description: Customer management
  - name: Products
    description: Product catalog management
  - name: Prices
    description: Price configuration
  - name: Subscriptions
    description: Subscription billing
  - name: Invoices
    description: Invoice management
  - name: Coupons
    description: Discount coupons
  - name: Usage Records
    description: Metered billing usage
  - name: Checkout
    description: Hosted checkout pages
  - name: Portal
    description: Customer self-service portal
  - name: Bank Accounts
    description: ACH bank account management
  - name: Identity Vault
    description: PII tokenization and storage
  - name: KYC
    description: Identity verification
  - name: Ledger
    description: Double-entry ledger accounting
  - name: 3D Secure
    description: 3DS authentication
  - name: Network Tokens
    description: Network token management
  - name: Apple Pay
    description: Apple Pay integration
paths:
  /ledger-accounts:
    get:
      tags:
        - Ledger
      summary: List Ledger Accounts
      operationId: listLedgerAccounts
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
        - name: account_type
          in: query
          schema:
            $ref: '#/components/schemas/LedgerAccountType'
        - name: status
          in: query
          schema:
            type: string
            enum:
              - active
              - frozen
              - closed
        - name: customer_id
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Account list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LedgerAccountList'
components:
  parameters:
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        default: 10
        maximum: 100
    Offset:
      name: offset
      in: query
      schema:
        type: integer
        default: 0
  schemas:
    LedgerAccountType:
      type: string
      enum:
        - asset
        - liability
        - equity
        - revenue
        - expense
    LedgerAccountList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/LedgerAccount'
        pagination:
          type: object
          properties:
            total:
              type: integer
            limit:
              type: integer
            offset:
              type: integer
            has_more:
              type: boolean
    LedgerAccount:
      type: object
      properties:
        id:
          type: string
        account_number:
          type: string
        name:
          type: string
        description:
          type: string
        account_type:
          $ref: '#/components/schemas/LedgerAccountType'
        normal_balance:
          type: string
        status:
          type: string
          enum:
            - active
            - frozen
            - closed
        currency:
          type: string
        balance:
          type: integer
        available_balance:
          type: integer
        pending_balance:
          type: integer
        balance_updated_at:
          type: string
          format: date-time
        customer_id:
          type: string
        external_reference:
          type: string
        is_system_account:
          type: boolean
        created_at:
          type: string
          format: date-time
        metadata:
          type: object
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key (sk_test_* or sk_live_*)

````