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

# Transaction History

> Retrieves a list of all transactions including manual credits, subscriptions, and payments.



## OpenAPI

````yaml GET /transaction_history/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /transaction_history/:
    get:
      summary: Transaction History
      description: >-
        Retrieves a list of all transactions including manual credits,
        subscriptions, and payments.
      responses:
        '200':
          description: Successfully retrieved transaction history
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionHistoryResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    TransactionHistoryResponse:
      type: object
      properties:
        status:
          type: boolean
          example: true
        message:
          type: string
          example: Transaction History
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
                example: 1
              object_id:
                type:
                  - string
                  - 'null'
                example: mi2rsRoS
              payment_amount:
                type: string
                example: '99.00'
              payment_type:
                type: string
                example: subscription
              credits:
                type:
                  - string
                  - 'null'
                example: '1000.00'
              currency:
                type: string
                example: usd
              payment_status:
                type: string
                example: paid
              created_at:
                type: string
                format: date-time
                example: '2025-08-01T11:59:24.382629Z'
              invoice_id:
                type:
                  - string
                  - 'null'
                example: 5v6Ae11
        total_transactions:
          type: integer
          example: 9
        total_pages:
          type: integer
          example: 1
        current_page:
          type: integer
          example: 1
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````