---
title: "List credit transactions"
method: GET
path: "/v3/openmeter/customers/{customerId}/credits/transactions"
tags: ["OpenMeter Customers"]
---

# List credit transactions

`GET /v3/openmeter/customers/{customerId}/credits/transactions`

**Pre-release Endpoint**
This endpoint is currently in beta and is subject to change.

List credit transactions for a customer.

Returns an immutable, chronological record of credit movements: funded credits
and consumed credits. Transactions are returned in reverse chronological order
by default.

## Path parameters

- `customerId` string, required — ULID (Universally Unique Lexicographically Sortable Identifier).

## Query parameters

- `page` CursorPaginationQueryPage — Determines which page of the collection to retrieve.
  - `size` integer — The number of items to include per page.
  - `after` string — Request the next page of data, starting with the item after this parameter.
  - `before` string — Request the previous page of data, starting with the item before this parameter.
- `filter` ListCreditTransactionsParamsFilter — Filter options for listing credit transactions.
  - `type` 'funded' | 'consumed' | 'expired' — Filter credit transactions by type.
  - `currency` string — Filter credit transactions by currency.
  - `feature_key` object — Filter credit transactions by feature key. Omit to return all credit transactions. Use `exists=false` to return only unrestricted credit transactions.
    - `eq` string
    - `contains` string, required
    - `ocontains` string, required
    - `oeq` string, required
    - `neq` string, required

## Response `200`

Cursor paginated response.

- CreditTransactionPaginatedResponse — Cursor paginated response.
  - `data` BillingCreditTransaction[], required
    - `id` string, required — ULID (Universally Unique Lexicographically Sortable Identifier).
    - `name` string, required — Display name of the resource. Between 1 and 256 characters.
    - `description` string — Optional description of the resource. Maximum 1024 characters.
    - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
    - `created_at` string, date-time, required — An ISO-8601 timestamp representation of entity creation date.
    - `booked_at` string, date-time, required — The date and time the transaction was booked.
    - `type` 'funded' | 'consumed' | 'expired', required — The type of credit transaction.
    - `currency` string, required — Fiat or custom currency code.
    - `amount` string, required — Signed amount of the credit movement. Positive values add balance, negative values reduce balance.
    - `available_balance` object, required — The available balance before and after the transaction.
      - `before` string, required — Numeric represents an arbitrary precision number.
      - `after` string, required — Numeric represents an arbitrary precision number.
  - `meta` CursorMeta, required — Pagination metadata.
    - `page` CursorMetaPage, required
      - `first` string, path — URI to the first page
      - `last` string, path — URI to the last page
      - `next` string, path, nullable, required — URI to the next page
      - `previous` string, path, nullable, required — URI to the previous page
      - `size` number, required — Requested page size

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/revisions/b31b9b097e6d/schema)
