# List the organization's top-ups

> GET /v1/billing/top-ups. The caller's organization's top-ups with their status, newest first: the ones in progress (open, which includes an ACH debit that has not settled), the…

Source: https://legion.ambient.xyz/docs/api/billing/list-top-ups

`GET https://api.legion.ambient.xyz/v1/billing/top-ups`

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

The caller's organization's top-ups with their status, newest first: the ones in progress (`open`, which includes an ACH debit
that has not settled), the ones that credited the balance
(`credited`), the ones that did not (`failed`, `expired`, and since
 `canceled`: the card was not charged), and the ones under
review (`held`) or returned to the payer (`refunded`). Nothing about why a top-up was held is ever shown. Paging never
skips or repeats a top-up that existed when the first page was read;
pass a page's `next_cursor` as `cursor` for the next one. The cursor
is opaque (400 `invalid_cursor` for one this API did not return). Requires `billing.read`, like `getBillingAccount`: every member who
can see the balance can see its top-ups. Payments failing or not
answering within 3 seconds is 503 `payments_unavailable`.

## Query parameters

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

## Responses

### 200

A page of top-ups.

- `items`, array of TopUpItem, required
  - `id`, string, required: The Stripe Checkout session of the top-up, or for an auto top-up (`automatic`) its Stripe payment.
  - `amount`, 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.
  - `status`, TopUpStatus, required: `open`: Checkout has not completed, or an ACH debit has not settled; the balance is not yet credited. `credited`: the payment succeeded and the balance was credited the full amount. `held`: the payment is under review and the balance is not credited; it ends as `credited` or `refunded`. `refunded`: the payment was returned to the payer and the balance was never credited. `failed`: the payment failed (for example a declined or returned ACH debit); nothing was credited. `expired`: Checkout expired unpaid. `canceled`: your card was not charged. The payment was authorized but never taken, because the top-up did not pass review or the authorization lapsed; nothing was credited, and the hold on the card is released by the card's bank.
  - `created_at`, string (date-time), required: When the top-up was started.
  - `settled_at`, string (date-time): When the top-up reached its end for a `credited` or `refunded` one: when the balance was credited, or when the payment was returned. Absent for the others.
  - `promo_redemption_id`, string (uuid): . The promo redemption (a top-up bonus) this top-up was made for.
  - `automatic`, boolean: . True for an auto top-up (a charge of the saved card when the balance fell below the threshold, `getAutoTopUp`); absent for one started with `createTopUp`. An auto top-up's `id` is its Stripe payment, not a Checkout session.
- `next_cursor`, string

Example:

```json
{
  "items": [
    {
      "id": "string",
      "amount": {
        "amount_minor": 250,
        "currency": "USD"
      },
      "status": "open",
      "created_at": "2026-10-15T12:00:00Z",
      "settled_at": "2026-10-15T12:00:00Z",
      "promo_redemption_id": "0192f1a2-7c3d-7e4f-8a9b-0c1d2e3f4a5b",
      "automatic": false
    }
  ],
  "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 payments service failed or did not answer within 3 seconds
(`payments_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)
- 503 [`payments_unavailable`](https://legion.ambient.xyz/docs/errors#payments_unavailable)

## Example request

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