capabilities.work

Expire Checkout Session

A 2-step recipe with Stripe. We can help you get access.

Recipe · 2 steps

Expire Checkout Session

with Stripe
Works with AI assistants

Create a Checkout Session and immediately expire it.

  1. Create a hosted Checkout Session for the supplied price.
  2. Expire the checkout session so it can no longer be completed.
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:expire-checkout-session, 2 operations: postCheckoutSessions → postCheckoutSessionsSessionExpire. Specs on APIs.io.