Expire a checkout session

Expires the checkout session with the given id before your customer completes the payment. You can only expire a session while its status is created. Expiring a session also expires any pending payment of the session and triggers a checkout_session.expired webhook event. Returns the session with its status set to expired.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier for the checkout session to expire.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json