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

# Get Payment History

> Returns a paginated list of all payments (auto-pay, one-time, subscription) made by the organization.



## OpenAPI

````yaml get /test_framework/billing/payment-history/
openapi: 3.1.0
info:
  title: Cekura API
  version: v1
  description: >-
    Complete API documentation for the Cekura platform. This API provides
    endpoints for testing, observing, and evaluating AI voice agents — including
    managing agents, running evaluators, defining metrics, and analyzing call
    quality.
servers:
  - url: https://api.cekura.ai
security: []
paths:
  /test_framework/billing/payment-history/:
    get:
      tags:
        - test_framework
      summary: Get payment history
      description: >-
        Returns a paginated list of all payments (auto-pay, one-time,
        subscription) made by the organization.
      operationId: billing-payment-history
      parameters:
        - in: query
          name: organization_id
          schema:
            type: integer
          description: Organization ID
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PaymentHistory'
          description: ''
        '400':
          description: organization_id is required
        '404':
          description: Organization not found
      security:
        - api_key: []
components:
  schemas:
    PaymentHistory:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        amount:
          type: string
          readOnly: true
        currency:
          type:
            - string
            - 'null'
          description: Currency code (e.g. USD, INR)
          maxLength: 10
        payment_type:
          enum:
            - auto_pay
            - one_time_payment
            - self_serve_credits
            - self_serve_member_seat
            - subscription
            - subscription_member_seat
            - null
          type:
            - string
            - 'null'
          x-spec-enum-id: 361bd31b044dd4ca
          description: |-
            Type of payment (auto_pay or one_time_payment)

            * `auto_pay` - Auto Pay
            * `one_time_payment` - One-Time Payment
            * `self_serve_credits` - Self-Serve Credits
            * `self_serve_member_seat` - Self-Serve Member Seat
            * `subscription` - Subscription
            * `subscription_member_seat` - Subscription Member Seat
        description:
          type: string
          description: Payment description or notes
        stripe_payment_intent_id:
          type:
            - string
            - 'null'
          description: Stripe Payment Intent ID for tracking
          maxLength: 255
        created_at:
          type: string
          format: date-time
          readOnly: true
  securitySchemes:
    api_key:
      type: apiKey
      name: X-CEKURA-API-KEY
      in: header
      description: >-
        API Key Authentication. It should be included in the header of each
        request.

````