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

# List accounts

> Retrieves a list of all accounts



## OpenAPI

````yaml /openapi.yaml get /account/list
openapi: 3.0.1
info:
  title: Push API
  version: 0.0.1
servers:
  - url: https://api.pushcash.com
    description: Production API
  - url: https://sandbox.pushcash.com
    description: Sandbox API used for developing an integration with Push
security:
  - bearer: []
tags:
  - name: user
  - name: tokenization
  - name: authorization
  - name: intent
  - name: dispute
  - name: refund
  - name: ledger
    description: >-
      Accounts, transactions, and transfers — the records that make up the Push
      ledger.
  - name: simulation
paths:
  /account/list:
    get:
      tags:
        - ledger
      summary: List accounts
      description: Retrieves a list of all accounts
      operationId: listAccounts
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Account'
                required:
                  - data
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    Account:
      type: object
      example:
        id: account_WsELzpJOvU6fNafvzWbF6K
        type: settlement
        name: Settlement Account
        created_at: '2023-05-24T20:15:18.158Z'
      properties:
        id:
          type: string
          description: The unique identifier assigned by Push
        type:
          type: string
          description: The type of account.
        name:
          type: string
          description: The name of the account
        created_at:
          type: string
          format: date-time
          description: When the account was created (ISO 8061 date string)
      required:
        - id
        - type
        - name
        - created_at
    error:
      description: Description of the error encountered from the API request
      type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````