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

# List credit transactions

> **Token scope:** `account` · `org` — read-only tokens allowed.

Credit transaction history for an org — grants, spends and reversals, newest first (pure read)



## OpenAPI

````yaml /openapi/org.json get /orgs/{orgId}/billing/credits/transactions
openapi: 3.1.0
info:
  title: InstaCloud API — Organization level
  version: 0.1.0
  description: >-
    Endpoints under `/orgs/{orgId}`: members, projects, billing, domains.
    Callable with an account-wide token or a token bound to that organization.


    Generated from the platform's own OpenAPI document
    (https://api.instacloud.com/openapi.json); see the [API
    overview](/reference/api/overview) for authentication and token scopes.
servers:
  - url: https://api.instacloud.com
    description: InstaCloud
security:
  - bearerAuth: []
tags:
  - name: Organization
    description: 'The organization itself: name, members, invitations.'
  - name: Projects
    description: Projects inside an organization.
  - name: Audit
    description: The project's event timeline, including agent-ingested events.
  - name: Domains
    description: >-
      Domains bought through InstaCloud, bring-your-own zones and their DNS
      records.
  - name: Billing
    description: Usage, cycles, invoices and credits.
paths:
  /orgs/{orgId}/billing/credits/transactions:
    get:
      tags:
        - Billing
      summary: List credit transactions
      description: >-
        **Token scope:** `account` · `org` — read-only tokens allowed.


        Credit transaction history for an org — grants, spends and reversals,
        newest first (pure read)
      operationId: listCreditTransactions
      parameters:
        - schema:
            minimum: 1
            maximum: 200
            default: 50
            type: integer
          in: query
          name: limit
          required: false
        - schema:
            type: string
          in: query
          name: before
          required: false
          description: opaque cursor from a previous page's nextBefore
        - schema:
            format: uuid
            type: string
          in: path
          name: orgId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditTransactions'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreditTransactions:
      additionalProperties: false
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CreditTransaction'
        nextBefore:
          description: >-
            opaque cursor; pass as ?before= for the next page, null when there
            are no more
          type:
            - string
            - 'null'
      required:
        - items
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    CreditTransaction:
      additionalProperties: false
      type: object
      properties:
        id:
          type: string
        amountUsd:
          description: >-
            signed: positive = credit added (grant or reversal), negative =
            credit spent
          type: number
        reason:
          description: >-
            gift_grant | usage_debit | subscription_debit | adjust | expire |
            legacy_import
          type: string
        createdAt:
          format: date-time
          type: string
        expiresAt:
          format: date-time
          description: >-
            the expiry of the grant this row moved, so a reader can see which
            bucket it came out of; null = never expires
          type:
            - string
            - 'null'
        ref:
          additionalProperties: false
          description: what the movement was for
          type: object
          properties:
            invoiceId:
              type: string
            subscriptionId:
              type: string
            reason:
              type: string
            reversal:
              type: string
            idempotencyKey:
              type: string
      required:
        - id
        - amountUsd
        - reason
        - createdAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Session access JWT or an API token (`insta_<prefix>_<secret>`).

````