Settle a cautionary block
Starts the return of the funds of one lock to the payer and moves the lock to SETTLING. With pix_refund, Pix Lerian cancels the ledger hold and sends a return (pacs.004) of the original transaction. With pix_manual, it commits the hold to the blocking account and pays one Pix (pacs.008) from there to the bank account that you give. To return every lock of the transaction in one devolution, use Settle every cautionary block of a Pix.
The lock must be PENDING (AWAITING_CREDIT is refused with 409, PIX-0012). original_amount is the amount of the received transaction: a higher amount, or a transaction that is not found, is refused with 422 (PIX-0013). The amount settled is the smallest of the requested amount, what is left to settle and the effective_amount of the lock. The call is idempotent by refund_ref: a refund_ref already bound to other locks is refused with 400 (PIX-0003). A lock whose surplus was already returned is refused with 409 (PIX-0656). A dispatch that fails without proof that the devolution was not sent (a timeout, a 5xx) answers success, and the lock stays SETTLING until the outcome is confirmed. A pix_manual surplus is returned when the settlement is confirmed, not by this call.
When the outcome is known, call Confirm a cautionary block settlement. For a lock opened for a MED infraction (origin_system med-infraction), use Settle refund instead: DICT holds MED state that this route cannot see.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
REQUIRED. Client-supplied replay key, at most 64 bytes. A request without it is refused with PIX-0030 @ 400 before the handler runs. An identical resend within 1 hour returns the original response, status included, with X-Idempotency-Replayed: true. Reusing the key with a divergent method, URL or body is PIX-0031 @ 412.
1 - 64Parámetros de ruta
Balance lock UUID
"01a17cf3-128e-7c41-9b2e-5d7a3f8c1e60"
Cuerpo
Respuesta
OK
"0.00"
"2026-10-27T14:05:12Z"
"01a17cf3-128e-7c41-9b2e-5d7a3f8c1e60"
"150.75"
"PIX_MANUAL"
"80.13"
"80.13"
"SETTLING"
pixManual surplus (the lock's effective amount minus settle_amount) that the settle confirmation returns to the customer once the lock is SETTLED; nothing is returned by this call. Always 0 for pixRefund.
"20.13"
Not filled: the surplus is returned by the settle confirmation, whose response carries the transaction id. Kept in the schema for compatibility.
"01a17dae-b16e-7f28-9a03-6b1c4d8e2f75"

