Retrieves a specific recurring payment authorization by its recurrence ID (idRec).
cURL
curl --request GET \ --url https://api.paymee.com.br/v1.1/pix-automatic/authorizations/{idRec} \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-token: <x-api-token>'
{ "status": 0, "message": "success", "authorization": { "id": 27, "idRec": "RR286838922025061604202710881", "status": "APPROVED", "periodicity": "MONTHLY", "minimumAmount": 11, "initialDate": "2025-06-19", "finalDate": "2025-12-15", "nextRecurrenceDate": "2025-07-19 03:00:00", "creation": "2025-06-16 07:21:04", "payer": { "document": "00000000000", "name": "JOHN DOE", "ispb": "99999919" }, "contract": { "id": "6851c0842bf40769ead1fde5", "description": "contract-456" } }, "paymentSchedules": [ { "id": 13, "status": "PAID", "dueDate": "2025-06-16 07:20:24", "amount": 11, "sale": { "id": 215832385, "uuid": "3b1e4441-9060-3b9e-81a4-d0fa4cab19b8", "situation": "CANCELLED" } } ] }
"your-x-api-key"
"your-x-api-token"
Recurrence ID (idRec) of the authorization to be retrieved.
idRec
Authorization data returned successfully.
Show child attributes