---
title: "Fetch Top Up Purchase User Route"
method: GET
path: "/billing/stripe/topups/{checkout_session_id}"
tags: ["Billing"]
---

# Fetch Top Up Purchase User Route

`GET /billing/stripe/topups/{checkout_session_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/billing/stripe/topups/{checkout_session_id}`
- Auth: API key in header `Authorization`

## Path parameters

- `checkout_session_id` string, required

## Response `200`

Successful Response

- TopUpPurchaseResponse
  - `credited` boolean, required
  - `credits` integer, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-06** `801a890b062a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/billing/stripe/topups/:checkout_session_id/get.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) - [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agenta-ai/apis/agenta-api/revisions/ab601a2309da?raw)
