> ## 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.

# Listar bloqueios de saldo de um relato de infração

> Retorna os bloqueios de saldo associados a um relato de infração e os totais agregados: infractionAmount do relato principal e totalBlocked, o valor efetivamente retido nos bloqueios ativos com estado PENDING, SETTLING ou SETTLED. O relato deve pertencer à organização autenticada; caso contrário, retorna 404.



## OpenAPI

````yaml pt/openapi/v3-current/pix-lerian-dict.yaml GET /dict/infraction-reports/{id}/balance-blocks
openapi: 3.1.0
info:
  contact:
    name: Lerian Studio
    url: https://lerian.studio
  description: >-
    API pública para chaves Pix, reivindicações, marcadores de fraude, relatos
    de infração e recuperação de valores do MED.
  license:
    name: Elastic License 2.0
    url: https://www.elastic.co/licensing/elastic-license
  title: Pix Lerian — DICT
  version: release-candidate
servers:
  - url: https://api.example.com/dict-hub/v1
    description: Substitua o host de exemplo pela URL fornecida no onboarding do ambiente.
security:
  - BearerAuth: []
tags:
  - description: Registro, consulta, listagem, atualização e remoção de chaves Pix.
    name: Entries
  - description: Consulta de chaves Pix e verificação de existência no diretório DICT.
    name: Keys
  - description: Gestão de reivindicações de posse e portabilidade de chaves Pix.
    name: Claims
  - description: Gestão de recuperações de valores do MED 2.0 no escopo do participante.
    name: Funds Recoveries
  - description: Gestão de relatos de infração do MED 2.0 para a organização autenticada.
    name: Infraction Reports
  - description: Criação, consulta, cancelamento e liquidação de devoluções do MED 2.0.
    name: Refunds
  - description: >-
      Criação, consulta, listagem e cancelamento de marcadores de fraude do
      DICT.
    name: Fraud Markers
paths:
  /dict/infraction-reports/{id}/balance-blocks:
    get:
      tags:
        - Infraction Reports
      summary: Listar bloqueios de saldo de um relato de infração
      description: >-
        Retorna os bloqueios de saldo associados a um relato de infração e os
        totais agregados: infractionAmount do relato principal e totalBlocked, o
        valor efetivamente retido nos bloqueios ativos com estado PENDING,
        SETTLING ou SETTLED. O relato deve pertencer à organização autenticada;
        caso contrário, retorna 404.
      operationId: listInfractionReportBalanceBlocks
      parameters:
        - description: Infraction report internal ID (UUID format)
          in: path
          name: id
          required: true
          schema:
            description: Infraction report internal ID (UUID format)
            examples:
              - 018f8c1d-1234-7abc-9def-000000000001
            type: string
          example: 01960718-a213-2435-6078-901234567123
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBalanceBlocksOutput'
              examples:
                exemploFicticio:
                  summary: Exemplo fictício
                  value:
                    infractionAmount: '1500.00'
                    items:
                      - amount: '1000.00'
                        attemptNumber: 1
                        createdAt: '2026-06-18T12:00:00Z'
                        failureReason: balance-lock group settle exceeds the settle ceiling
                        id: 018f8c1d-1234-7abc-9def-000000000002
                        spiBlockId: 018f8c1d-5678-7abc-9def-000000000003
                        status: PENDING
                        updatedAt: '2026-06-18T12:05:00Z'
                    total: 1
                    totalBlocked: '1000.00'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Error
      x-codeSamples:
        - lang: bash
          label: cURL com dados fictícios
          source: |-
            curl --request GET \
              --url https://api.example.com/dict-hub/v1/dict/infraction-reports/01960718-a213-2435-6078-901234567123/balance-blocks \
              --header 'Authorization: Bearer demo-access-token'
components:
  schemas:
    ListBalanceBlocksOutput:
      additionalProperties: false
      properties:
        infractionAmount:
          examples:
            - '1500.00'
          type: string
        items:
          items:
            $ref: '#/components/schemas/BalanceBlockOutput'
          type:
            - array
            - 'null'
        total:
          examples:
            - 1
          format: int64
          type: integer
        totalBlocked:
          examples:
            - '1000.00'
          type: string
      required:
        - items
        - total
        - totalBlocked
      type: object
    Detail:
      additionalProperties: false
      properties:
        code:
          description: >-
            Stable, machine-readable domain error code scoped to the emitting
            service (format: <SERVICE>-NNNN).
          examples:
            - ERR-0001
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
        upstream:
          $ref: '#/components/schemas/Upstream'
          description: >-
            RFC 9457 extension member: the error a proxied third-party provider
            reported. Absent unless the emitting service explicitly surfaced
            one.
      type: object
    BalanceBlockOutput:
      additionalProperties: false
      properties:
        amount:
          examples:
            - '1000.00'
          type: string
        attemptNumber:
          examples:
            - 1
          format: int64
          type: integer
        createdAt:
          examples:
            - '2026-06-18T12:00:00Z'
          format: date-time
          type: string
        failureReason:
          examples:
            - balance-lock group settle exceeds the settle ceiling
          type: string
        id:
          examples:
            - 018f8c1d-1234-7abc-9def-000000000002
          type: string
        spiBlockId:
          examples:
            - 018f8c1d-5678-7abc-9def-000000000003
          type: string
        status:
          enum:
            - PENDING
            - SETTLING
            - SETTLED
            - RELEASED
            - FAILED
          examples:
            - PENDING
          type: string
        updatedAt:
          examples:
            - '2026-06-18T12:05:00Z'
          format: date-time
          type: string
      required:
        - id
        - amount
        - status
        - attemptNumber
        - createdAt
        - updatedAt
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    Upstream:
      additionalProperties: false
      properties:
        code:
          description: The upstream provider's own error code, verbatim.
          examples:
            - E4001
          type: string
        message:
          description: >-
            The upstream provider's own error message, verbatim (bounded, never
            its raw response body).
          examples:
            - account not found at provider
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````