Skip to main content
POST
Unblock a Pix Transfer

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Encabezados

X-Account-Id
string
requerido

Unique identifier of the Midaz Ledger Account (UUID format).

Parámetros de ruta

transfer_id
string
requerido

Unique identifier of the Pix transfer (UUID format).

Cuerpo

application/json
allowNotFoundUnblock
boolean
predeterminado:false

Opts into the not-found resolution path. When true and BTG returns HTTP 404 for the transfer's EndToEndID, the unblock flow reverts the Midaz hold (if any) and marks the cashout as FAILED with failedReason=BTG_NOT_FOUND instead of returning a provider error. Only applies to CASHOUT transfers in PENDING or PROCESSING status.

Respuesta

Transfer unblock processed successfully.

transfer
object
requerido
btgStatus
string

Status retrieved from BTG (for transparency).

Ejemplo:

"CONFIRMED"

message
string

Additional context about the unblock result.

Ejemplo:

"Transaction successfully unblocked and completed"