> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Confirmar la recepción de una denuncia de infracción

> Usa este endpoint para confirmar la recepción de la notificación de una denuncia
de infracción. Este endpoint lo usa el participante contraparte para
confirmar que ha recibido y tiene conocimiento de la denuncia de infracción
presentada contra una transacción.


**Notas:**

- La denuncia debe estar en estado OPEN para poder confirmarse.

- Esta operación es idempotente.



## OpenAPI

````yaml es/openapi/v3-current/indirect-pix.yaml POST /v1/dict/infraction-reports/{infraction_id}/acknowledge
openapi: 3.0.3
info:
  title: Plugin BR Pix Indirect - API completa
  description: |
    API completa para el sistema de pagos instantáneos Pix de Brasil, que
    incluye operaciones del diccionario de claves Pix, generación/decodificación
    de códigos QR, transacciones y límites transaccionales.
  version: 1.0.0
servers:
  - url: https://plugin-pix-indirect.api.lerian.net
security:
  - bearerAuth: []
paths:
  /v1/dict/infraction-reports/{infraction_id}/acknowledge:
    post:
      tags:
        - MED API
      summary: Confirmar la recepción de una denuncia de infracción
      description: >-
        Usa este endpoint para confirmar la recepción de la notificación de una
        denuncia

        de infracción. Este endpoint lo usa el participante contraparte para

        confirmar que ha recibido y tiene conocimiento de la denuncia de
        infracción

        presentada contra una transacción.



        **Notas:**


        - La denuncia debe estar en estado OPEN para poder confirmarse.


        - Esta operación es idempotente.
      parameters:
        - $ref: '#/components/parameters/InfractionId'
        - $ref: '#/components/parameters/XAccountId'
      responses:
        '200':
          description: Recepción de la denuncia de infracción confirmada correctamente.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfractionReportObject'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0001:
                  $ref: '#/components/examples/ErrorPIX0001'
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0200:
                  $ref: '#/components/examples/ErrorPIX0200'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0000:
                  $ref: '#/components/examples/ErrorPIX0000'
      deprecated: false
      security:
        - bearerAuth: []
components:
  parameters:
    InfractionId:
      name: infraction_id
      in: path
      description: Identificador único del reporte de infracción (formato UUID).
      required: true
      example: 019c96a0-0c98-799e-9135-4613ca469ad8
      schema:
        type: string
    XAccountId:
      name: X-Account-Id
      in: header
      description: Identificador único de la cuenta del Ledger de Midaz (formato UUID).
      required: true
      example: 019c96a0-0a98-7287-9a31-786e0809c769
      schema:
        type: string
  schemas:
    InfractionReportObject:
      type: object
      properties:
        id:
          type: string
          description: Identificador único.
          example: 019c96a0-0c98-799e-9135-4613ca469ad8
        transactionId:
          type: string
          description: Identificador de transacción del SPI.
          example: E12345678202411241430ABCDEFGHIJK
        status:
          type: string
          description: Estado actual.
          enum:
            - OPEN
            - ACKNOWLEDGED
            - CLOSED
            - CANCELLED
          example: OPEN
        reason:
          type: string
          description: Motivo de la infracción.
          example: REFUND_REQUEST
        reporterParticipant:
          type: string
          description: ISPB del participante que reporta.
          example: '12345678'
        counterpartyParticipant:
          type: string
          description: ISPB de la contraparte.
          example: '87654321'
        analysisResult:
          type: string
          description: Resultado del análisis de BACEN.
          example: AGREED
        createdAt:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00Z'
        updatedAt:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00Z'
    ErrorFormat:
      type: object
      description: El mensaje de error de la respuesta.
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: Un identificador único y estable para el error.
        title:
          type: string
          description: Un breve resumen del problema.
        message:
          type: string
          description: Orientación detallada para resolver el error.
  examples:
    ErrorPIX0001:
      summary: Missing Headers in Request
      value:
        code: PIX-0001
        title: Missing Headers in Request
        message: >-
          Your request is missing one or more required header params. Please
          refer to the documentation to ensure all necessary header params are
          included in your request.
    ErrorPIX0200:
      summary: Infraction Report Not Found
      value:
        code: PIX-0200
        title: Infraction Report Not Found
        message: The infraction report was not found.
    ErrorPIX0000:
      summary: Internal Server Error
      value:
        code: PIX-0000
        title: Internal Server Error
        message: The server encountered an unexpected error. Please try again later.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````