Respond to PIX Chargeback Request
patch https://api.saq.digital/v2/finance/response-med/
After performing the query and analysis of a registered Chargeback PIX request, we should use this endpoint to accept or reject the request, including the necessary information
Parameter Type Description Example Authorization String Bearer + Access_token Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEzMzAwOTMxLCJpYXQiOjE3MTMyOTczMzEsImp0aSI6Ijc2ZWI4ZTE5ZjM4YjQ4NmZiODdmNzNjNTdkMWVmNDJhIiwidXNlcl9pZCI6MjQ2fQ.5zekMa7CUj9p-MvNHns5ke4ZPhYV3Y1CLOsYL7hDUUo
Field Description Required or Optional id Number of the request referring to the generated chargeback request. required description_response Free field that allows describing the reason for the chargeback procedure. required file_response data:application/pdf;base64, followed by the PDF document with the response converted into base64. required status ACCEPTED - PIX Chargeback/Med request accepted REJECTED - PIX Chargeback/Med request rejected WAITING - PIX Chargeback/Med Awaiting response required
Response
{
"worked": true,
"pix_med_id": 1,
"status": "ACCEPTED",
"name": "xxxxx xxxxxxx xxxxx",
"cpf": "xxx.xxx.xxx-xx",
"qr_code_id": xxxxxx,
"qr_code_status": "CHARGEBACK",
"qr_code_copy_and_paste": "00020101021226950014br.gov.bcb.pix2573qr.cornerpix.com.br/11581339/v2/cobv/5c176901-6ba5-4281-9e10-7f67191320d25204000053039865802BR5914BMP MONEY PLUS6009SAO PAULO62070503***6304CFB6",
"amount": 1.65,
"fee": 0.0,
"due_date": "2024-04-23T15:00:00Z",
"e2e": "E1xxxx2131xxxxa7xx6xxxx",
"description_response": "descrição do acontecimento",
"file_response_url": "https://saq-api-files.s3-sa-east-1.amazonaws.com/media/pixmed/77db39f2-c3b8-4535-922c-329d2fdc4846.pdf"
}
Field Description id Returns true or false, confirming whether the response to the PIX Charge was successfully submitted or not file_response returns the link to the response PDF document. status Returns the information of the status (the same inputted in the body) name Returns the name of the user who initiated the chargeback process cpf Returns the CPF or CNPJ of the user who initiated the chargeback process amount returns the value of the chargeback fee If applicable, this field returns the fee that will be charged to the SaQ.Digital customer for Respond to PIX Chargeback Request due_date Deadline for responding to the PIX chargeback request e2e Returns the e2e (End-to-End), a unique identifier used in financial transactions to facilitate the identification and tracking of operations. description_response returns the description of the response if applicable. This field presents the information inputted in the Respond to PIX Chargeback Request endpoint. created_at Returns the creation date of the chargeback request. updated_at Returns the date of the last update of the chargeback request. company Returns the company code.