POST
/
checkout
/
v3
/
cancel
Cancel Checkout Session
curl --request POST \
  --url https://api.appcharge.com/checkout/v3/cancel \
  --header 'Authorization: <authorization>'
{
  "isOrderCancelled": true
}

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
string
required

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.