---
title: "Create a Stripe checkout session"
method: POST
path: "/api/billing/checkout"
---

# Create a Stripe checkout session

`POST /api/billing/checkout`

## Request

- Base URL: `https://app.fahaliai.com`
- URL: `https://app.fahaliai.com/api/billing/checkout`
- Auth: HTTP bearer

Starts a subscription checkout for a pricing tier. Requires authentication (Firebase ID token as Bearer). Returns a Stripe-hosted checkout URL.

## Request body

- object
  - `tier` 'retail' | 'professional' | 'elite' | 'institutional' | 'enterprise', required

## Response `200`

Checkout session

- object
  - `url` string

## Other responses

- `401`: Authentication required

---

[API](https://skmtc.dev/fahaliai/apis/fahali-intelligence-api.md) · [All operations](https://skmtc.dev/fahaliai/apis/fahali-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fahaliai/apis/fahali-intelligence-api/revisions/d8115da5453f?raw)
