Cancels a checkout session.
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.
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.
"Bearer ba5af26a21ec497cb1551821c630d9f9"
Result.
The response is of type object
.