billing

Create Checkout Session

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

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 endpoint across all 1 revision of this API.