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

# Create Checkout Session

`POST /billing/checkout`

## Request body

- CheckoutRequest
  - `plan` 'monthly' | 'yearly'

## Response `200`

Successful Response

- CheckoutResponse
  - `url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
