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

# Create Checkout Session

`POST /billing/checkout`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/billing/checkout`
- Auth: none declared

## 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/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
