Перейти к основному содержанию
POST
/
api
/
v2
/
payments
/
checkout
Create Checkout
curl --request POST \
  --url https://api.example.com/api/v2/payments/checkout

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.

{
  "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"}