billing

Create Checkout Session

post/v1/billing/payments/create-checkout-session

Request

  • Base URL: https://api.kodik.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.kodik.ru/v1/billing/payments/create-checkout-session
  • Auth: HTTP bearer

Request body

subscription_idinteger required

Subscription plan ID to purchase

billing_period'monthly' | 'yearly' | 'annual'
auto_renewboolean

Enable automatic recurring payments

success_urlstring nullable
cancel_urlstring nullable

Response

Successful Response

checkout_urlstring required
invoice_idstring required
payment_idinteger required
billing_periodstring required
auto_renewboolean required
messagestring required

Changes

No recorded changes to this operation across all 22 revisions of this API.