Create Checkout Session
Header Parameters
X-API-Keystring
Authorizationstring
Body Parameters
priceIdstring Required
The price ID to create a checkout session for
queryParamsobject
Additional query parameters to pass to the checkout session return urls
Show child attributes
Response
200
Object
Checkout session created
Response Attributes
checkoutUrlstring
URL to the Stripe checkout page
401
Object
Unauthorized - Invalid API key or JWT
Response Attributes
messagestring
Error message
codestring
Error code
detailsobject
Additional error details
500
Object
Server error - check errors field for specific error type
Response Attributes
errorsstring Required
Error code identifying the type of error
Enum values:
bad_requestunauthorizedforbiddennot_found500incorrect_datanot_memberalready_memberincorrect_stripe_signatureincorrect_stripe_event... 4 other enums
Was this section helpful?
What made this section unhelpful for you?
Response
Was this section helpful?