Cancels a scheduled payment that has not yet been processed.
cURL
curl --request PUT \ --url https://api.paymee.com.br/v1.1/pix-automatic/scheduled-payments/{instructionId}/cancel \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-token: <x-api-token>' \ --data ' { "reason": "Customer request." } '
{ "status": 0, "message": "success" }
"your-x-api-key"
"your-x-api-token"
Instruction ID of the scheduled payment to be canceled.
Reason for the cancellation.
A brief reason for the cancellation.
Scheduled payment canceled successfully.
0
"success"