---
title: "List credit event ledger"
method: GET
path: "/v2/billing/credits/ledger"
tags: ["credits"]
---

# List credit event ledger

`GET /v2/billing/credits/ledger`

## Query parameters

- `billing_credit_id` string
- `company_id` string, required
- `end_time` string
- `event_type` 'grant' | 'transfer' | 'usage' | 'zero_out'
- `feature_id` string
- `start_time` string
- `limit` integer — Page limit (default 100)
- `offset` integer — Page offset (default 0)

## Response `200`

OK

- object
  - `data` CreditEventLedgerResponseData[], required
    - `amount` number, double, required
    - `auto_topup_log_id` string, nullable
    - `billing_credit_bundle_id` string, nullable
    - `billing_credit_id` string, required
    - `company` CompanyLedgerResponseData
      - `id` string, required
      - `logo_url` string, nullable
      - `name` string, required
    - `company_id` string, required
    - `credit` BillingCreditLedgerResponseData
      - `description` string, nullable
      - `icon` string, nullable
      - `id` string, required
      - `name` string, required
      - `plural_name` string, nullable
      - `singular_name` string, nullable
    - `credit_name` string, required
    - `environment_id` string, required
    - `event_at` string, date-time, required
    - `event_id` string, required
    - `event_type` 'grant' | 'transfer' | 'usage' | 'zero_out', required
    - `expiry_type` 'duration' | 'end_of_billing_period' | 'end_of_next_billing_period' | 'end_of_trial' | 'no_expiry'
    - `expiry_unit` 'billing_periods' | 'days'
    - `expiry_unit_count` integer, nullable
    - `feature` FeatureLedgerResponseData
      - `description` string, nullable
      - `icon` string, nullable
      - `id` string, required
      - `name` string, required
    - `feature_id` string, nullable
    - `from_grant_id` string, nullable
    - `grant_expires_at` string, date-time, nullable
    - `grant_id` string, nullable
    - `grant_quantity` number, double, nullable
    - `grant_quantity_remaining` number, double, nullable
    - `grant_reason` 'adjustment' | 'billing_credit_auto_topup' | 'free' | 'plan' | 'purchased' | 'rollover'
    - `grant_valid_from` string, date-time, nullable
    - `plan_id` string, nullable
    - `quantity_consumed` number, double, nullable
    - `quantity_remaining_at_zero_out` number, double, nullable
    - `source_id` integer, required
    - `to_grant_id` string, nullable
    - `usage_event_id` string, nullable
    - `usage_reason` 'lease_hold' | 'lease_release' | 'manual_adjustment' | 'reconciliation' | 'track'
    - `zeroed_out_reason` 'customer_archived' | 'expired' | 'integration_uninstalled' | 'license_retired' | 'manual' | 'plan_change' | 'plan_period_reset' | 'reconciled'
  - `params` object, required — Input parameters
    - `billing_credit_id` string
    - `company_id` string
    - `end_time` string
    - `event_type` 'grant' | 'transfer' | 'usage' | 'zero_out'
    - `feature_id` string
    - `limit` integer — Page limit (default 100)
    - `offset` integer — Page offset (default 0)
    - `start_time` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Server error

## Changes

- **2026-07-27** `e83d3358bab3` — 1 warning
  - added the new `license_retired` enum value to the `data/items/zeroed_out_reason/allOf[#/components/schemas/BillingCreditGrantZeroedOutReason]/` response property for the response status `200`
- **2026-07-15** `3baa54bf8b3f` — 2 warning
  - for the `query` request parameter `limit`, the max was set to `250.00`
  - for the `query` request parameter `limit`, the min was set to `0.00`
- **2026-07-06** `e6b85f57df53` — 1 warning
  - added the new `customer_archived` enum value to the `data/items/zeroed_out_reason/allOf[#/components/schemas/BillingCreditGrantZeroedOutReason]/` response property for the response status `200`
- **2026-07-06** `e836d3bfd007` — 1 warning
  - added the new `integration_uninstalled` enum value to the `data/items/zeroed_out_reason/allOf[#/components/schemas/BillingCreditGrantZeroedOutReason]/` response property for the response status `200`
- **2026-06-26** `b9c1b16b6a1b` — 1 breaking
  - the `data/items/grant_quantity` response's property type/format changed from `integer`/`int64` to `number`/`double` for status `200`

[Full history](https://skmtc.dev/schematichq/apis/schematic-api/changes/v2/billing/credits/ledger/get.md)

---

[API](https://skmtc.dev/schematichq/apis/schematic-api.md) · [All operations](https://skmtc.dev/schematichq/apis/schematic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/schematichq/schematic-api/revisions/0b238e148fa1/schema)
