Allows the merchant to cancel a PENDING sale. Any other situation will return an error.
cURL
curl --request PUT \ --url https://api.paymee.com.br/v1.1/transactions/{saleUUID}/void \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-token: <x-api-token>'
{ "status": 0, "message": "success" }
"your-x-api-key"
"your-x-api-token"
Sale UUID to be cancelled
success response
The response is of type object.
object