payments
Create Checkout Session
Create a Stripe Checkout Session for subscribing to a plan.
This redirects the user to Stripe's hosted payment page where Stripe handles ALL payment complexity: card input, 3DS/SCA, OTP, validation.
After successful payment, Stripe:
- Creates the subscription automatically
- Redirects user back to our success URL
- Fires checkout.session.completed webhook
- Our webhook handler activates the subscription in our DB
This is the RECOMMENDED approach for new subscriptions. For upgrades (Pro → Premium), use /subscribe which modifies the existing sub.
post/payments/create-checkout-session
Request
- Base URLhttps://api.oxlo.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.oxlo.ai/payments/create-checkout-session
- AuthHTTP bearer
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.