instrument field on a payment order is a discriminated union by type. The variant determines the request shape, the response fields, and the user-facing flow. There are five PIX variants today.
Cheat sheet
PIX_CASH_IN_EMV_STATIC
A reusable PIX payment instrument. The QR/EMV does not expire; many payers can pay the same QR.
Request
Use when
- Physical signage at a point of sale.
- Recurring donations or tipping.
- Any scenario where the same QR will be paid multiple times.
Caveats
The same QR receives many payments. Each settlement creates a new transaction record in the PIX network; the BlooBank order’sendToEndId reflects the first matching settlement. For ongoing reconciliation, listen for webhook events on the order rather than polling.
PIX_CASH_IN_EMV_DYNAMIC
A one-shot, expiring QR/EMV for a specific invoice. The QR is valid until expiresAt; one payer settles.
Request
Response — populated fields
After creation, the response populates the provider-rendered payload:qrcode and copypaste are the same EMV payload; qrcode is intended for QR rendering, copypaste for the “PIX copia e cola” UX. After settlement, endToEndId is populated.
Use when
- E-commerce checkout where the customer pays once.
- Invoices with a known due date.
- Any flow where you want auto-expiration if the payer does not settle.
PIX_CASH_OUT_KEY
Send PIX to a known PIX key. The provider resolves the key to a recipient account.
Request
Key formats
Response — populated after settlement
creditorAccount is populated by the provider after key resolution.
Use when
- The most common outbound flow.
- The recipient supplies a PIX key.
- You do not need to validate account ownership client-side (the provider does).
PIX_CASH_OUT_EMV
Pay an EMV (BR-Code) payload. Used when scanning or copying a PIX QR code as a sender.
Request
The
amount in the request body must match the amount encoded in the EMV (when present) — for static EMVs without amount, the request amount is used.
Response — populated after parse
Use when
- The user scans a QR or pastes the “PIX copia e cola” payload.
- You receive an EMV from an external source (e.g., a partner’s invoice).
PIX_CASH_OUT_ACCOUNT
Pay to explicit bank account coordinates. Used when the recipient does not have a PIX key registered.
Request
creditorAccount object is required and must include enough fields to route the payment (ispb, agencyNumber, accountType, accountNumber, accountOwnerDocument at minimum).
Use when
- The recipient does not have a PIX key.
- Bulk payroll or supplier payments where you already have account coordinates on file.
Choosing a variant — quick decision tree
Next
Pix cash-in tutorial
Build a complete inbound flow with dynamic EMV.
Pix cash-out tutorial
Build a complete outbound flow with approval.