---
title: "GET /v1/workspaces/{workspaceId}/billing/topups"
method: GET
path: "/v1/workspaces/{workspaceId}/billing/topups"
tags: ["Billing"]
---

# GET /v1/workspaces/{workspaceId}/billing/topups

`GET /v1/workspaces/{workspaceId}/billing/topups`

## Request

- Base URL: `https://api.atlas-compiler.com`
- URL: `https://api.atlas-compiler.com/v1/workspaces/{workspaceId}/billing/topups`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` string, required

## Response `200`

Success

- object
  - `activeTopupCredits` integer, required
  - `earliestExpiresAt` string, date-time, nullable, required
  - `eligible` boolean, required
  - `ineligibleReason` string, nullable, required
  - `tiers` object[], required
    - `amountCents` integer, required
    - `boostCode` '5k' | '25k' | '100k' | '500k' | '1m', required
    - `costPerCredit` number, required
    - `credits` integer, required
    - `currency` string, required
    - `providerProductId` string, required
    - `savingsPercent` number, required
  - `workspaceId` string, required

## Other responses

- `400`: RFC 9457 problem.
- `401`: RFC 9457 problem.
- `403`: RFC 9457 problem.
- `404`: RFC 9457 problem.
- `409`: RFC 9457 problem.
- `500`: RFC 9457 problem.
- `503`: RFC 9457 problem.

---

[API](https://skmtc.dev/atlas-compiler/apis/atlas-backend-api.md) · [All operations](https://skmtc.dev/atlas-compiler/apis/atlas-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atlas-compiler/apis/atlas-backend-api/revisions/a43b60619cdf?raw)
