cURL
curl --request POST \ --url https://sandbox.api.withgale.com/v1/v1/checkout/{checkout_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "checkout_id": "<string>", "status": "<string>", "cancelled_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Checkout cancelled
The response is of type object.
object