provider POST /v1/checkout/sessions/{session}/expire
@utdk/stripe /v1/checkout/sessions/{session}/expire
Expire a Checkout Session
<p>A Checkout Session can be expired when it is in one of these statuses: <code>open</code> </p> <p>After it expires, a customer can’t complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired.</p>
session path required
string

Try it

Authentication
Configure credentials for Stripe API
postcheckoutsessionssessionexpire
POST/v1/checkout/sessions/{session}/expire
<p>A Checkout Session can be expired when it is in one of these statuses: <code>open</code> </p> <p>After it expires, a customer can’t complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired.</p>

Parameters

required

Input

Specifies which fields in the response should be expanded.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postcheckoutsessionssessionexpire()