---
title: "Create Topup Checkout"
method: POST
path: "/billing/credits/top-up"
tags: ["billing", "billing-credits"]
---

# Create Topup Checkout

`POST /billing/credits/top-up`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/billing/credits/top-up`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Create a Stripe Checkout session for the $40 / 3 credits top-up product.

Returns a ``checkout_url`` the client should redirect to.
On successful payment, the Stripe webhook handler adds 3 credits
to the org's ledger automatically.

## Response `200`

Successful Response

- TopUpCheckoutResponse
  - `checkout_url` string, required
  - `session_id` string, required

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
