post /v1/checkout/sessions/{session}/expire

Expire a Checkout Session

PostCheckoutSessionsSessionExpire

<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

Name In Type Required Description
session path string yes

Request Body

application/x-www-form-urlencoded

Responses

200 Successful response.
default Error response.