Retrieves a specific scheduled payment by its instruction ID.
cURL
curl --request GET \ --url https://api.paymee.com.br/v1.1/pix-automatic/scheduled-payments/{instructionId} \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-token: <x-api-token>'
{ "status": 0, "message": "success", "paymentSchedule": { "id": 12, "instructionId": "000000000000000000000215832344", "status": "CANCELLED", "dueDate": "2025-06-19 03:00:00", "amount": 11, "endToEnd": "E2868389220250619150000215832384", "rejectionCode": "SLCR", "rejectionReason": "1", "creation": "2025-06-16 07:16:45" }, "authorization": { "id": 26, "idRec": "RR286838922025061604150842631", "initialDate": "2025-06-19", "finalDate": "2025-12-15", "creation": "2025-06-16 07:16:42" }, "sale": { "id": 215832384, "uuid": "16a5e040-8b55-4dbe-8563-035d2876a766", "situation": "CANCELLED" } }
"your-x-api-key"
"your-x-api-token"
Instruction ID of the scheduled payment.
Scheduled payment data returned successfully.
The response is of type object.
object