---
title: "Subscribe"
method: POST
path: "/api/billing/subscribe"
tags: ["billing"]
---

# Subscribe

`POST /api/billing/subscribe`

## 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/subscribe`
- Auth: HTTP bearer

Subscribe to a plan via Stripe Checkout.

## Request body

- SubscribeRequest: Subscribe to a plan.
  - `plan` string, required
  - `billing_period` string

## 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)
