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

# Create Checkout Session

`POST /api/create-checkout-session`

## Request

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

Create a Stripe Checkout Session for the authenticated user.

## Request body

- CheckoutSessionRequest
  - `priceId` string, required
  - `mode` string
  - `successUrl` string, required
  - `cancelUrl` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
