Learn how to link boleto and Pix to one obligation, confirm payments, and handle cancellation, duplicate receipts, and refunds with traceability.
Boleto with Pix usually describes a presentation offering a barcode and a QR code to pay the same obligation.
The obligation is what the customer owes: for example, R$ 249 for a specific order.
Displaying a boleto, generating a QR code, or receiving a customer's payment receipt should not, by itself, trigger automatic discharge of the obligation.
A plausible state machine starts with an open obligation.