---
title: "Create Checkout Session"
method: POST
path: "/v0/billing/checkout-session"
tags: ["Billing"]
---

# Create Checkout Session

`POST /v0/billing/checkout-session`

Create a Stripe Checkout session for the authenticated user / org.

Resolves billing context from the API key, fetches user & billing data,
creates a Stripe Checkout Session, and returns the redirect URL + session
ID.

## Response `200`

Checkout session created

- CheckoutSessionResponse — Response from the checkout-session endpoint.
  - `url` string, required
  - `session_id` string, required

## Other responses

- `400` — Bad request
- `500` — Stripe configuration error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
