---
title: "Close infraction report"
method: POST
path: "/v2/pix/infraction-reports/{id}/close"
tags: ["Infraction reports"]
---

# Close infraction report

`POST /v2/pix/infraction-reports/{id}/close`

Closes an infraction report.

Only the counterparty participant can close an infraction report. 

The operation is idempotent. If you try to close the report again with the same parameters, you will get the same response as the first time.

On PSP timeout, a `202 Accepted` response is returned and the process continues asynchronously, eventually emitting a success or failure event.

This endpoint generates a <a href="https://developers.pismo.io/events/docs/pix-dict-infraction-status-change-1" >Pix infraction status changed</a> event.

## Path parameters

- `id` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- InfractionCloseRequest
  - `analysis_result` 'AGREED' | 'DISAGREED', required — Infraction analysis result
  - `fraud_type` 'APPLICATION_FRAUD' | 'MULE_ACCOUNT' | 'SCAMMER_ACCOUNT' | 'OTHER' — Verified fraud type. **REQUIRED** if `analysis_result` = `AGREED`.
  - `analysis_details` string — Infraction's analysis details, which can guide the payer to next steps.

## Response `200`

OK

- PresenterInfractionReportResponse
  - `creation_date` string, date-time, required — Creation datetime. A RFC 3339 date-time value. For example - `2023-04-12T23:20:50.52Z`.
  - `credited_participant` string, required — Credited participant's ISPB (Identifcador do Sistema de Pagamento Brazil) number - the Brazilian Payment System identifier, an 8-digit value.
  - `debited_participant` string, required — Debited participant's ISPB (Identifcador do Sistema de Pagamento Brazil) number - the Brazilian Payment System identifier, an 8-digit value.
  - `end_to_end_id` string, required — This field is a Brazil Central Bank (BCB) requirement to track all steps of Pix transactions. Basically, there are two steps to a Pix transaction: 1. Initialize a transaction 2. Confirm a transaction The `end_to_end_id` is sent to the BCB in both steps in order to identify all transaction information.
  - `infraction_report_id` string, uuid, required — Infraction report ID (UUID)
  - `infraction_type` 'FRAUD' | 'REFUND_REQUEST' | 'REFUND_CANCELLED', required — Infraction type: * `FRAUD` - Payer or payee requested. * `REFUND_REQUEST` - Initiated only by payer's payment service provider (PSP). Used to mark a key as fraudulent and asks for a refund. * `REFUND_CANCELLED` - Initiated only by payee's PSP. To indicate that a refund done thru an infraction process was a fraud and needs to be returned,
  - `last_modified` string, date-time, required — Last modified datetime. A RFC 3339 date-time value. For example - `2023-04-12T23:20:50.52Z`.
  - `reported_by` 'DEBITED_PARTICIPANT' | 'CREDITED_PARTICIPANT', required — Who filed the infraction report
  - `status` 'OPEN' | 'ACKNOWLEDGED' | 'CLOSED' | 'CANCELLED', required — Infraction status
  - `transaction_id` string, required — Transaction ID
  - `analysis_details` string — Analysis details
  - `analysis_result` 'AGREED' | 'DISAGREED' | 'PARTIALLY_ACCEPTED' | 'TOTALLY_ACCEPTED' | 'REJECTED' — Analysis results
  - `bacen_response_time` string, date-time — Banco Central do Brasil (Central Bank of Brazil) response datetime. A RFC 3339 date-time value. For example - `2023-04-12T23:20:50.52Z`.
  - `correlation_id` string — The Correlation identifier field is used to link related API requests and events. The CID can help the Pismo engineering team track everything related to a call. If not passed, a random one is generated. You can find the CID in the response header.
  - `infraction_data` PresenterInfractionData
    - `credited_participant` string, required — Credited participant's ISPB (Identifcador do Sistema de Pagamento Brazil) number - the Brazilian Payment System identifier, an 8-digit value.
    - `debited_participant` string, required — Debited participant's ISPB (Identifcador do Sistema de Pagamento Brazil) number - the Brazilian Payment System identifier, an 8-digit value.
    - `infracting_account_data` PresenterInfractingAccountData, required
      - `account_number` string, required — Account number.
      - `branch` string — This could be a bank-assigned branch ID or the branch's ISPB number.
    - `reported_by` 'DEBITED_PARTICIPANT' | 'CREDITED_PARTICIPANT', required — Who filed the infraction report
    - `tax_id_number` string, required — A government document number, such as a Social Security number (US) or Cadastro de Pessoas Físicas number (Brazil). Must be numeric with 11-14 digits.
    - `transaction_date` string, date-time, required — Transaction date time. RFC 3339 date-time value. For example - `2023-04-12T23:20:50.52Z`.
    - `key` string — Pix key value.
  - `report_details` string — Details about report
  - `transaction_result` 'SETTLED' | 'REJECTED_PAYEE' | 'REJECTED_PAYER' — Transaction result
  - `transaction_type` 'TRANSFER' | 'CHANGE' | 'WITHDRAWAL' | 'REFUND_AUTOMATIC_PIX' | 'REFUND' — Type of transaction the QR Code validation generates. * `TRANSFER` - Standard immediate transfer payment. * `CHANGE` - Occurs when the QR Code validation returns `CHANGE`. For example, the customer buys something and pays more than the product value to receive the difference in cash. * `WITHDRAWAL` - Occurs when the QR Code validation returns `WITHDRAWAL` with `withdrawal` object values. * `REFUND_AUTOMATIC_PIX` - Total or partial to the PSP payer user within the Automatic Pix MED (Pix return mechanism) scope (only when initiated by a `MANUAL`). * `REFUND` = Total or partial refund to the paying user within the scope of MED 2.0, when this refund occurs from the PI Account of the user's PSP who participated in the distribution chain of the resources of the original transaction (only when initiated by a `MANUAL`)
  - `contact_information` ContactInformation
    - `phone` string, required — Contact phone number
    - `email` string, required — Contact email

## Other responses

- `202` — Accepted
- `400` — Bad Request
- `401` — Access token is missing or invalid
- `403` — The request has been lost
- `404` — Resource Not Found
- `429` — Too many reqquests
- `500` — Internal Server Error
- `502` — Bad Gateway
- `503` — Service Unavailable
- `504` — Gateway timeout

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
