---
title: "Every credit movement, newest first."
method: GET
path: "/v1/billing/ledger"
tags: ["account"]
---

# Every credit movement, newest first.

`GET /v1/billing/ledger`

## Request

- Base URL: `https://api.50heads.com`
- URL: `https://api.50heads.com/v1/billing/ledger`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://auth.50heads.com/authorize`, token URL `https://auth.50heads.com/token`; client credentials, token URL `https://auth.50heads.com/token`, scopes: `account:read`)

## Query parameters

- `cursor` string

## Response `200`

OK

- LedgerResponse
  - `rows` LedgerRow[], required
    - `id` string, required
    - `at` string, required
    - `kind` 'purchase' | 'ask' | 'refund' | 'say' | 'bonus' | 'referral' | 'payout' | 'payout_returned' | 'fee' | 'expiry' | 'clawback' | 'adjustment' | 'tier2_fee' | 'not_paid' | 'founder_credits', required
    - `title` string, required
    - `state` 'pending' | 'available' | 'in_flight' | 'paid' | 'reversed' | 'not_paid', required
    - `amount` integer, required
    - `ref` string, nullable, required
    - `notPaid` object, nullable
      - `id` string, required
      - `source` 'rejected' | 'clawback', required
      - `reason` 'too_fast' | 'repeat' | 'check_question' | 'automated' | 'linked_accounts' | 'shared_payout_method' | 'confirmed_fraud', required
      - `amount` integer, required
      - `status` 'not_paid' | 'appealed' | 'upheld' | 'not_upheld', required
      - `appealBy` string, nullable, required
      - `decisionBy` string, nullable, required
    - `by` string, nullable
    - `releaseAt` string, nullable
  - `nextCursor` string, nullable, required

## Other responses

- `400`: The request is not valid; `error.details.validation` lists the fixes.
- `401`: No key or token, or it expired or was revoked.
- `403`: The key or token lacks the scope (`insufficient_scope`), or the action is not allowed.
- `429`: Too many requests; wait for Retry-After.

---

[API](https://skmtc.dev/50heads/apis/50heads-api.md) · [All operations](https://skmtc.dev/50heads/apis/50heads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/50heads/apis/50heads-api/revisions/20175e8b00e3?raw)
