checkout
Create Checkout Session Endpoint
Create a Stripe Checkout Session for subscription (Path B) for the AUTHENTICATED consumer.
WRITE-SIDE IDOR fix (R4 verify, issue 1 — see module docstring): requires the same verified CONSUMER access token as /portal. consumer_id is derived exclusively from that token's subject and is what gets threaded into the Checkout Session's (webhook-trusted) metadata — never anything the request body supplies. The Stripe customer_id handed to Checkout is looked up ONLY from that subject's own prior linkage, never accepted from the caller.
post/v1/checkout/session
Request
- Base URL: https://app.teetra.com (the document declares no server; this is the origin it was published from)
- URL: https://app.teetra.com/v1/checkout/session
- Auth: none declared
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 2 revisions of this API.