Update a Pix infraction by ID
PATCH {{baseInfraUrl}}/{{version}}/pix-infraction/:infractionId
A received Pix Infraction can be confirmed or declined by setting its result. After a Pix Infraction is patched, its status changes to closed.
Parameter | Value Type | Description |
---|---|---|
id | REQUIRED | Id of the Pix Infraction to be patched. Example: 5719405850615809 |
result | REQUIRED | Result after the analysis of the received Pix Infraction. Options: agreed, disagreed |
analysis | OPTIONAL | Analysis that led to the result. |
Request Body
{"analysis"=>"Upon investigation, several identical transactions were identified.", "result"=>"agreed"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"infraction":{"agent":"reported","analysis":"Upon investigation, several identical transactions were identified.","bacenId":"670966f5-8926-409f-85b2-e0bb5395d76f","created":"2022-05-12T19:08:01.294891+00:00","creditedBankCode":"35547753","debitedBankCode":"20018183","description":"","id":"5229959379419136","referenceId":"E20018183202204951450u34sDGd19lz","reportedBy":"credited","result":"agreed","status":"closed","type":"fraud","updated":"2022-05-13T11:00:14.232573+00:00"},"message":"Pix infraction closure successfully requested"}