Checkout Session and Line Items
A 3-step recipe with Stripe. We can help you get access.
Recipe · 3 steps
Checkout Session and Line Items
with Stripe
Works with AI assistants
Create a Checkout Session and inspect its line items.
- Create a hosted Checkout Session for the supplied price.
- Retrieve the session to confirm its hosted URL and status.
- List the line items attached to the checkout session.
What you'll need to have ready
- price: ID of the price to sell through checkout.
- quantity: Quantity of the line item (defaults to 1 if omitted).
- mode: Checkout mode (payment, subscription, or setup).
- successUrl: URL to redirect to after a successful checkout.
For your developer
Arazzo workflow stripe:checkout-session-and-lineitems, 3 operations: postCheckoutSessions → getCheckoutSessionsSession → getCheckoutSessionsSessionLineItems. Specs on APIs.io.