Checkout Session
Cancel Checkout Session API
Cancels a checkout session.
POST
Cancel Checkout Session
When a checkout session is canceled, it becomes unavailable for further payments.
Note: Canceling a checkout session doesn’t affect the associated order. You can monitor the order status using the Order Events, or view the list of orders in the Publisher Dashboard.
Headers
Authorization header in the format: Bearer ${checkoutSessionToken}
.
The checkout session token is retrieved from the Create Checkout Session API and serves as the checkout session ID.
Example:
"Bearer ba5af26a21ec497cb1551821c630d9f9"
Response
200
application/json
Result.
The response is of type object
.
Cancel Checkout Session