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

# Create Checkout Session

`POST /billing/checkout-session`

Create a Stripe checkout session for subscription purchase.
Requires authentication via Stytch session token.

## Request body

- CheckoutSessionRequest
  - `priceId` string, required
  - `quantity` integer
  - `email` string, nullable
  - `return_url` string, nullable

## Response `200`

Successful Response

- CheckoutSessionResponse
  - `url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.net/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/versions/28bdface01df/schema)
