Skip to main content
POST
Unblock a Pix Transfer

Autorizações

Authorization
string
header
obrigatório

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

Cabeçalhos

X-Account-Id
string
obrigatório

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

Parâmetros de caminho

transfer_id
string
obrigatório

Unique identifier of the Pix transfer (UUID format).

Corpo

application/json
allowNotFoundUnblock
boolean
padrão: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.

Resposta

Transfer unblock processed successfully.

transfer
object
obrigatório
btgStatus
string

Status retrieved from BTG (for transparency).

Exemplo:

"CONFIRMED"

message
string

Additional context about the unblock result.

Exemplo:

"Transaction successfully unblocked and completed"