---
title: "List credit ledger entries"
method: GET
path: "/credits/transactions"
tags: ["Credits"]
---

# List credit ledger entries

`GET /credits/transactions`

## Request

- Base URL: `https://api.flashdata.dev/v2`
- URL: `https://api.flashdata.dev/v2/credits/transactions`
- Auth: API key in cookie `__Host-fd_session`

## Query parameters

- `cursor` string
- `limit` integer
- `type` 'subscription_grant' | 'topup_grant' | 'payment_reversal' | 'admin_adjustment' | 'trial_grant'

## Response `200`

Ledger entries

- object
  - `data` CreditTransaction[], required
    - `id` string, required
    - `type` 'subscription_grant' | 'topup_grant' | 'payment_reversal' | 'admin_adjustment' | 'trial_grant', required
    - `deltaCredits` number, required
    - `balanceAfterCredits` number, nullable, required: Signed settled balance after this immutable transaction, when recorded.
    - `description` string
    - `requestId` string, nullable
    - `jobId` string, nullable
    - `createdAt` string, date-time, required
  - `pagination` Pagination, required
    - `nextCursor` string, nullable
    - `previousCursor` string, nullable
    - `hasMore` boolean, required
    - `limit` integer, required

## Other responses

- `401`: Authentication required or invalid

---

[API](https://skmtc.dev/flashdata/apis/flashdata-customer-api.md) · [All operations](https://skmtc.dev/flashdata/apis/flashdata-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flashdata/apis/flashdata-customer-api/revisions/109179fe9313?raw)
