---
title: "Create Top Up Checkout User Route"
method: POST
path: "/billing/stripe/topups/"
tags: ["Billing"]
---

# Create Top Up Checkout User Route

`POST /billing/stripe/topups/`

## 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/`
- Auth: API key in header `Authorization`

## Query parameters

- `pack` string, required
- `success_url` string, required
- `cancel_url` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-06** `801a890b062a`: 1 info
  - added the new optional `query` request parameter `cancel_url`
- **2026-10-05** `47778d5912f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/billing/stripe/topups/post.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)
