Happy path
- Create a transaction with
method: "pix". - Return the Pix QR code data to the buyer.
- Persist the Pagou transaction
idand yourexternal_ref. - Wait for webhook delivery.
- Reconcile only when the payment state is uncertain.
Example request
Example response
Common error
Status422
pending as final. The payment is only settled after a terminal status such as paid.
What your frontend should receive
Return only the buyer-facing Pix data your frontend needs, such as:- transaction
id - current
status pix.qr_codepix.expiration_date

