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

# List the current organization's credit history

> Ledger entries, newest first. availableDeltaUsd is each entry's effect on the available balance (closing a hold returns what it reserved, less any capture) and availableAfterUsd is the available balance right after it.



## OpenAPI

````yaml https://api.zeroclick.io/openapi.json get /v1/organizations/current/credits/history
openapi: 3.0.0
info:
  title: ZeroClick API
  description: >-
    REST API for managing ZeroClick sellers, services, pricing, usage, and
    analytics. Authenticate with an API key from the ZeroClick dashboard.
  version: 1.0.0
servers:
  - url: https://api.zeroclick.io
security:
  - bearerAuth: []
tags:
  - name: API keys
  - name: Sellers
  - name: Services
  - name: Meters
  - name: Plans
  - name: Plan meter prices
  - name: Usage
  - name: Analytics
  - name: Agentify
  - name: Stripe Connect
  - name: Sandbox
  - name: Organizations
  - name: Users
paths:
  /v1/organizations/current/credits/history:
    get:
      tags:
        - Organizations
      summary: List the current organization's credit history
      description: >-
        Ledger entries, newest first. availableDeltaUsd is each entry's effect
        on the available balance (closing a hold returns what it reserved, less
        any capture) and availableAfterUsd is the available balance right after
        it.
      parameters:
        - schema:
            default: 100
            type: integer
            minimum: 1
            maximum: 200
          in: query
          name: limit
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  entries:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        kind:
                          type: string
                        amountUsd:
                          type: string
                        availableDeltaUsd:
                          type: string
                        availableAfterUsd:
                          type: string
                        reference:
                          nullable: true
                          type: string
                        note:
                          nullable: true
                          type: string
                        createdAt:
                          type: string
                      required:
                        - id
                        - kind
                        - amountUsd
                        - availableDeltaUsd
                        - availableAfterUsd
                        - reference
                        - note
                        - createdAt
                      additionalProperties: false
                required:
                  - entries
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key created in the ZeroClick dashboard under Settings → API keys.
        Keys start with `zc_`. Send them as `Authorization: Bearer zc_...`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.