billing

Create Checkout

Create a Stripe Checkout session for plan upgrade.

Returns a URL to redirect the user to Stripe's hosted checkout page.

post/api/billing/create-checkout-session

Request body

product_idstring required
plan'hobby' | 'standard' | 'pro' required
customer_emailstring nullable

Response

Successful Response

checkout_urlstring required
session_idstring required

Changes

No recorded changes to this endpoint across all 3 revisions of this API.