---
title: "Add Credits"
method: POST
path: "/api/billing/add-credits"
tags: ["billing"]
---

# Add Credits

`POST /api/billing/add-credits`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/billing/add-credits`
- Auth: HTTP bearer

Purchase credits via Stripe Checkout.

## Request body

- AddCreditsRequest: Purchase credits.
  - `amount_cents` integer, required

## Response `200`

Successful Response

- CheckoutResponse: Stripe Checkout Session redirect URL.
  - `checkout_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
