---
title: "Create Checkout Session"
method: POST
path: "/api/subscription/create-checkout-session"
---

# Create Checkout Session

`POST /api/subscription/create-checkout-session`

## Request

- Base URL: `https://api.openpaper.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openpaper.ai/api/subscription/create-checkout-session`
- Auth: API key in header `Authorization`

## Query parameters

- `interval` 'month' | 'year', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openpaper/apis/open-paper.md) - [All operations](https://skmtc.dev/openpaper/apis/open-paper/llms.txt) - [OpenAPI document](https://skmtc.dev/openpaper/apis/open-paper/revisions/c2ad03216101?raw)
