Process a Pix Transfer
Use this endpoint to process a previously initiated Pix cash-out and move funds between accounts.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Unique identifier of the Midaz Ledger Account (UUID format).
Transaction purpose for the cash-out. Defaults to TRANSFER when omitted.
TRANSFER, CHANGE, WITHDRAWAL, REFUND_AUTOMATIC_PIX, INSTANT_PAYMENT_REFUND, INSTALLMENT_PIX Optional idempotency key for safe retries. Reuse the same value only when retrying the same operation after an unknown outcome.
See Retries and idempotency for details.
Time-to-live in seconds for the idempotency key cache. Defines how long the system remembers a processed request.
See Retries and idempotency for details.
Body
Initiation ID from the initiate step.
"019c96a0-0c82-7c3d-8dcc-c180868b45c4"
Transfer amount in BRL (format 0.00). For QR codes with a fixed
amount, this must match the amount encoded in the QR code.
"100.50"
Optional description or message.
140"Payment for services"
Custom key-value attributes for this transfer. Maximum 50 keys, key max 100 chars, value max 2000 chars.
Response
Pix transfer processed successfully.
The response includes the X-Idempotency-Replayed header.
If the value is false, the transaction was just processed. If the value is true, the response is a replay of a previously processed request.
See Retries and idempotency for more details.
Transfer unique identifier.
"019c96a0-0c21-71f9-a487-66a1258278a1"
End-to-end identifier.
"E123456789BR1234567890123456789"
Transfer amount in BRL (format 0.00).
"100.00"
Transfer status.
CREATED, PENDING, PROCESSING, COMPLETED, FAILED, REVERSED "COMPLETED"
Transfer type.
CASHOUT, CASHIN "CASHOUT"
Optional description or message.
140"Pix Cashout Transfer"
Account party (source or destination) information.
Account party (source or destination) information.
Payment type.
IMMEDIATE, SCHEDULED "IMMEDIATE"
Initiation type.
MANUAL, KEY, QR_CODE "KEY"
Transfer urgency.
HIGH, NORMAL "HIGH"
Transaction purpose type. Defaults to TRANSFER.
TRANSFER, INSTANT_PAYMENT_REFUND "TRANSFER"
Account identifier (UUID).
"01989f9e-6508-79f8-9540-835be49fbd0d"
Alias identifier (UUID).
"01989f9e-6508-79f8-9540-835be49fbd0e"
Initiation timestamp (ISO 8601 UTC).
"2024-01-15T10:30:00Z"
"2024-01-15T10:30:00Z"
"2024-01-15T10:30:00Z"
Midaz ledger transaction and operation identifiers.
Custom key-value attributes associated with this transfer. Maximum 50 keys, key max 100 chars, value max 2000 chars.
Fee calculation details (if applicable).

