---
title: "Create Api Checkout Session"
method: POST
path: "/api/getlead-api/checkout"
---

# Create Api Checkout Session

`POST /api/getlead-api/checkout`

## 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/getlead-api/checkout`
- Auth: none declared

Creates a Stripe Checkout Session for a Getlead API plan or PAYG pack.
Embeds product_type=getlead_api + user_id + optional ref_code in metadata.

## Request body

- ApiCheckoutRequest
  - `price_id` string, required
  - `ref_code` string, nullable

## 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)
