Create Checkout Session
This endpoint allows you to create a checkout session on Stripe for a given priceId. It will return a Stripe checkout url for you to redirect your customer to. This will take them to a Stripe hosted checkout page where they will make a payment and then be redirected back to your site. As part of integration, you will provide us with urls for both success and cancel scenarios. When calling this endpoint, you can also pass an arbitray set of query parameters which we will return to you on the success and cancel urls so you can use them for tracking or other purposes. We will also always return the productId and session_id (Stripe checkout session ID) to the success url for your use.
Header Parameters
Body Parameters
The price ID to create a checkout session for
Additional query parameters to pass to the checkout session return urls
Show child attributes
Response
Response Attributes
URL to the Stripe checkout page
Response Attributes
Error message
Error code
Additional error details
Response Attributes
Error code identifying the type of error
bad_requestunauthorizedforbiddennot_found500incorrect_datanot_memberalready_memberincorrect_stripe_signatureincorrect_stripe_event