Billing
Create Checkout Session
Create a Stripe hosted checkout session to subscribe to a plan.
POST
POST
checkout_url to complete payment on Stripe’s hosted page.
Request Body
string
required
UUID of the subscription plan to purchase.
string
URL to redirect to after successful payment. Defaults to the app’s billing success page.
string
URL to redirect to if the user cancels checkout. Defaults to the app’s billing page.
Response
boolean
true when the checkout session was created.string
Stripe hosted checkout URL. Redirect the user to this URL to complete payment.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.