# List the organization's promo code redemptions

> GET /v1/billing/promo-redemptions. .

Source: https://legion.ambient.xyz/docs/api/billing/list-promo-redemptions

`GET https://api.legion.ambient.xyz/v1/billing/promo-redemptions`

Authenticate with an API key: `Authorization: Bearer $LEGION_API_KEY`.

. The caller's organization's redemptions, newest first, with their status in plain words
(`summary`). Requires `billing.read`.

## Query parameters

- `cursor`, string: Opaque cursor from a previous page's `next_cursor`.
- `limit`, integer

## Responses

### 200

A page of redemptions.

- `items`, array of PromoRedemption, required
  - `id`, string (uuid), required
  - `code`, string, required
  - `kind`, PromoKind, required: . `free_credit`: an amount of promo credit. `top_up_bonus`: extra promo credit on one top-up (a percentage or a fixed amount, capped). `usage_discount`: a percentage off compute usage for some days, capped.
  - `status`, PromoRedemptionStatus, required: `pending` (Legion is checking it), `awaiting_payment` (a top-up bonus waiting for its top-up), `granted`, `held` (a person at Ambient looks at it), `refused`, `cancelled` (the top-up of a bonus did not complete), `revoked` (taken back after it was granted).
  - `summary`, string, required: The redemption and its status in plain words.
  - `value`, Money, required: The most the redemption can give.
  - `granted_amount`, Money: The credit granted (free credit and bonuses), once granted.
  - `credit_expires_at`, string (date-time)
  - `discount`, PromoDiscountTerms
    - `bps`, integer, required
    - `days`, integer, required
    - `cap`, Money, required
      - `amount_minor`, integer (int64), required: Amount in minor units (cents for USD).
      - `currency`, MoneyCurrency, required: ISO 4217 currency code. Only USD is supported.
    - `until`, string (date-time): When the discount ends; once granted.
  - `top_up_id`, string: The top-up (Checkout session) of a bonus.
  - `top_up_amount`, Money
    - `amount_minor`, integer (int64), required: Amount in minor units (cents for USD).
    - `currency`, MoneyCurrency, required: ISO 4217 currency code. Only USD is supported.
  - `created_at`, string (date-time), required
  - `decided_at`, string (date-time): When it was granted, refused, cancelled or revoked.
- `next_cursor`, string

Example:

```json
{
  "items": [
    {
      "id": "0192f1a2-7c3d-7e4f-8a9b-0c1d2e3f4a5b",
      "code": "string",
      "kind": "free_credit",
      "status": "pending",
      "summary": "string",
      "value": {
        "amount_minor": 250,
        "currency": "USD"
      },
      "granted_amount": {
        "amount_minor": 250,
        "currency": "USD"
      },
      "credit_expires_at": "2026-10-15T12:00:00Z",
      "discount": {
        "bps": 1,
        "days": 0,
        "cap": {
          "amount_minor": 250,
          "currency": "USD"
        },
        "until": "2026-10-15T12:00:00Z"
      },
      "top_up_id": "string",
      "top_up_amount": {
        "amount_minor": 250,
        "currency": "USD"
      },
      "created_at": "2026-10-15T12:00:00Z",
      "decided_at": "2026-10-15T12:00:00Z"
    }
  ],
  "next_cursor": "string"
}
```

### 400

The request is malformed or fails validation. An image reference that
is not a container image reference answers `invalid_image_reference`.

### 401

Missing, unknown, expired or revoked credentials.

### 403

The caller lacks the permission this operation requires (`forbidden`),
or signed in without having joined an organization yet
(`no_organization`; `getOnboarding` and the invitation and
organization operations under it work), or could not sign in
(`email_unverified`, `account_conflict`, and `domain_not_allowed`). `not_invited` is no longer returned to
session tokens.

`access_not_approved`: a signed-in person who is not approved
for the beta yet. Every operation that takes a credential answers it to
them, except `getMe` and `joinMyWaitlist`; the problem carries
`access` (`waitlisted` or `not_requested`, and the email). Approved
means a member of an organization, holding a pending invitation, or Legion; an API key always belongs to a member.

`oauth_token_mcp_only`: the caller sent an OAuth access token (`lgo_`), which is accepted
only by `mcpMessage` and the tool calls it dispatches. Every other operation answers it, whatever
the token's scope. Use an API key or the Legion web app.

`org_suspended`: the caller's organization is suspended. Every operation that takes a
credential answers it, by session or API key, except `getMe` (which shows `org.suspended_at` and
`org.suspension_reason`) and the support operations under `/v1/support/`.

`terms_not_accepted`: an approved caller who has not accepted
the current version of the Terms of Use and the Acceptable Use Policy. Every operation that takes a credential answers it, except `getMe`,
`acceptLegalDocuments`, `joinMyWaitlist` and the wind-down operations
(`listRentals`, `stopRental`, `deleteRental`, `listHosts`,
`updateListing` with `listed` false, `removeHost`); the problem
carries `legal`. An API key acts for the person who created it, so it
is refused until that person accepts. Terminal
operations also return
`session_required` (called with an API key) and `step_up_required`
(neither a sign-in nor a step-up challenge within the step-up window).

### 500

An unexpected server error. Safe to retry.

### 503

The billing service failed or did not answer within 3 seconds
(`billing_unavailable`). Nothing changed; retry with backoff.

## Errors

- 400 [`invalid_cursor`](https://legion.ambient.xyz/docs/errors#invalid_cursor)
- 403 [`no_organization`](https://legion.ambient.xyz/docs/errors#no_organization)

## Example request

```sh
curl -s "https://api.legion.ambient.xyz/v1/billing/promo-redemptions" \
  -H "Authorization: Bearer $LEGION_API_KEY"
```
