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

# Release a balance block on an infraction report

> Releases an incremental balance block and relays the unlock to the SPI Block Balancer. The call is idempotent: releasing a block that is already `RELEASED` answers `200` with its current state.

The call answers `409` (`PIX-0012`) when the block is settling, settled or failed, when the SPI already returned a surplus of the payment, or when the block is `PENDING` without `spiBlockId`: its SPI create went unanswered, so repeat the create under its `requestRef` first. It answers `422` (`PIX-0328`) when the ledger refuses the release because the account is blocked; the block stays `PENDING`, and the same call releases it once the account is unblocked. It answers a retryable `502` (`PIX-0070`, `PIX-0071` or `PIX-0652`) when the SPI fails the unlock, cannot confirm the lock state, or still lists the lock `PENDING`: repeat the call. A `PIX-0652` that persists across repeats can mean that the ledger refuses the fee skip that the MED requires: repeat once `overrides.allowFeeSkip` is on for the Pix ledger.

A block whose lock still waits for the parked credit of its Pix (`AWAITING_CREDIT`) is released only after that credit completes: [credit the received Pix](/es/reference/interfaces/pix-lerian/spi/credit-a-received-pix-whose-ledger-credit-is-parked), then repeat. The report and the block must belong to the authenticated organization, otherwise the call answers `404`.



## OpenAPI

````yaml /es/openapi/v3-current/pix-lerian-dict.yaml delete /dict/infraction-reports/{id}/balance-blocks/{blockId}
openapi: 3.1.0
info:
  contact:
    name: Lerian Studio
    url: https://lerian.studio
  description: >-
    Public API for Pix keys, claims, fraud markers, infraction reports, and MED
    funds recovery.
  license:
    name: Lerian Studio General License
  title: Pix Lerian — DICT
  version: 1.2.0
servers:
  - url: https://api.example.com/dict-hub/v1
    description: >-
      Replace the example host with the URL provided during environment
      onboarding.
security:
  - BearerAuth: []
tags:
  - description: Manage ownership and portability claims for Pix keys.
    name: Claims
  - description: Register, retrieve, list, update, and remove Pix keys.
    name: Entries
  - description: Create, query, list, and cancel DICT fraud markers.
    name: Fraud Markers
  - description: Manage participant-scoped MED 2.0 funds recoveries.
    name: Funds Recoveries
  - description: Manage MED 2.0 infraction reports for the authenticated organization.
    name: Infraction Reports
  - description: Look up Pix keys and check whether keys exist in the DICT directory.
    name: Keys
  - description: Create, query, cancel, and settle MED 2.0 refunds.
    name: Refunds
  - description: >-
      Read the state of key reconciliation against BACEN, and start a
      verification or a file reconciliation.
    name: VSync
paths:
  /dict/infraction-reports/{id}/balance-blocks/{blockId}:
    delete:
      tags:
        - Infraction Reports
      summary: Release a balance block on an infraction report
      description: >-
        Releases an incremental balance block and relays the unlock to the SPI
        Block Balancer. The call is idempotent: releasing a block that is
        already `RELEASED` answers `200` with its current state.


        The call answers `409` (`PIX-0012`) when the block is settling, settled
        or failed, when the SPI already returned a surplus of the payment, or
        when the block is `PENDING` without `spiBlockId`: its SPI create went
        unanswered, so repeat the create under its `requestRef` first. It
        answers `422` (`PIX-0328`) when the ledger refuses the release because
        the account is blocked; the block stays `PENDING`, and the same call
        releases it once the account is unblocked. It answers a retryable `502`
        (`PIX-0070`, `PIX-0071` or `PIX-0652`) when the SPI fails the unlock,
        cannot confirm the lock state, or still lists the lock `PENDING`: repeat
        the call. A `PIX-0652` that persists across repeats can mean that the
        ledger refuses the fee skip that the MED requires: repeat once
        `overrides.allowFeeSkip` is on for the Pix ledger.


        A block whose lock still waits for the parked credit of its Pix
        (`AWAITING_CREDIT`) is released only after that credit completes:
        [credit the received
        Pix](/es/reference/interfaces/pix-lerian/spi/credit-a-received-pix-whose-ledger-credit-is-parked),
        then repeat. The report and the block must belong to the authenticated
        organization, otherwise the call answers `404`.
      operationId: deleteInfractionReportBalanceBlock
      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
        - description: Balance block internal ID (UUID format)
          in: path
          name: blockId
          required: true
          schema:
            description: Balance block internal ID (UUID format)
            examples:
              - 018f8c1d-1234-7abc-9def-000000000002
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteBalanceBlockResponse'
          description: OK
        '422':
          content:
            application/problem+json:
              example:
                type: https://errors.lerian.studio/v1/PIX-0328
                title: Unprocessable Entity
                status: 422
                detail: >-
                  The ledger account is blocked and cannot be used for the
                  requested operation.
                code: PIX-0328
              schema:
                $ref: '#/components/schemas/Detail'
          description: Unprocessable Entity (PIX-0328).
        '500':
          content:
            application/json:
              example:
                code: PIX-0000
                title: Internal Server Error
                message: >-
                  The server encountered an unexpected error. Please try again
                  later.
              schema:
                $ref: '#/components/schemas/LegacyErrorEnvelope'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Internal Server Error.
        '502':
          content:
            application/problem+json:
              example:
                type: https://errors.lerian.studio/v1/PIX-0070
                title: Bad Gateway
                status: 502
                detail: internal error
                code: PIX-0070
              schema:
                $ref: '#/components/schemas/Detail'
          description: Bad Gateway (PIX-0070, PIX-0071, PIX-0652).
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Error
components:
  schemas:
    DeleteBalanceBlockResponse:
      additionalProperties: false
      properties:
        amount:
          examples:
            - '1500.00'
          type: string
        id:
          examples:
            - 018f8c1d-1234-7abc-9def-000000000002
          type: string
        releasedAt:
          examples:
            - '2026-07-15T13:35:00Z'
          format: date-time
          type: string
        spiBlockId:
          examples:
            - 018f8c1d-1234-7abc-9def-000000000099
          type: string
        status:
          enum:
            - PENDING
            - SETTLING
            - SETTLED
            - RELEASED
            - FAILED
          examples:
            - RELEASED
          type: string
      required:
        - id
        - spiBlockId
        - status
        - amount
        - releasedAt
      type: object
    Detail:
      additionalProperties: true
      properties:
        code:
          description: >-
            Stable, machine-readable domain error code scoped to the emitting
            service (format: <SERVICE>-NNNN).
          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
    LegacyErrorEnvelope:
      additionalProperties: false
      properties:
        code:
          description: PIX-XXXX error code
          type: string
        message:
          description: Human-readable error message
          type: string
        title:
          description: Short error title
          type: string
        fields:
          additionalProperties:
            type: string
          description: Per-field detail, keyed by the field or header the refusal names
          type: object
        headers:
          additionalProperties:
            type: string
          description: Per-header detail, keyed by the request header the refusal names
          type: object
      required:
        - code
        - title
        - message
      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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.