---
title: "Create Checkout Session Endpoint"
method: POST
path: "/v1/checkout/create-session"
---

# Create Checkout Session Endpoint

`POST /v1/checkout/create-session`

## Request

- Base URL: `https://licenseground.com` (the document declares no server; this is the origin it was published from)
- URL: `https://licenseground.com/v1/checkout/create-session`
- Auth: none declared

Generate a Stripe Checkout session or development simulation.

## Request body

- CheckoutSessionRequest
  - `plan` string, nullable
  - `plan_id` string, nullable
  - `email` string, nullable
  - `api_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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