---
title: "Create a checkout session for a paid plan"
method: POST
path: "/billing/checkout"
---

# Create a checkout session for a paid plan

`POST /billing/checkout`

## Request

- Base URL: `https://lucid.page`
- URL: `https://lucid.page/billing/checkout`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `apiKey`
  - none

## Request body

- object
  - `plan` 'pro' | 'team'

## Response `200`

Checkout URL

- object

## Other responses

- `503`: Checkout unavailable (plan price not configured, or payments unreachable)

---

[API](https://skmtc.dev/lucid/apis/lucid-page.md) · [All operations](https://skmtc.dev/lucid/apis/lucid-page/llms.txt) · [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-page/revisions/ac6b8c27c38b?raw)
