Skip to main content
POST
Create Checkout Session

Request

string
required
User ID that will own the subscription.
string
required
Customer email address.
string
required
URL Stripe should redirect to after successful checkout.
string
required
URL Stripe should redirect to after cancellation.
string
Subscription tier. Valid values: starter or pro. Default: starter.

Response

string
Stripe-hosted checkout URL.

Example

Example response