Initiates a payment cancellation of the authorization
cURL
curl --request POST \ --url https://api.toffeepay.com/v1/payments/{id}/cancel \ --header 'Authorization: Bearer <token>'
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type CancelPaymentResponse · object.
CancelPaymentResponse · object