> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elumenta.ru/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Checkout

> Start a payment for subscription or token package

```json theme={null}
{
  "plan": "vip",
  "payment_method": "stripe",
  "success_url": "https://yourapp.com/success",
  "cancel_url": "https://yourapp.com/cancel"
}
```

Returns a `checkout_url`. Redirect the user there to complete payment.

For Stripe specifically: `POST /api/v2/payments/stripe/create-session`

Apply promo code: `POST /api/v2/payments/promo` with `{"code": "PROMO123"}`
