Blog
What is a PIX payment gateway and how to choose one
Published on by Astron Pay

A PIX payment gateway is the bridge between your application and Brazil's instant payment system. It lets you charge, receive and pay via PIX programmatically. Here is what to evaluate before choosing one.
What a PIX gateway does
In practice, a PIX gateway generates charges (QR Code and PIX Copy and Paste), confirms receipts, executes payments to any key and returns the status of each operation to your application. All via API, without needing a direct banking integration.
Cash-in and cash-out
Cash-in is money coming in (you receive a PIX); cash-out is money going out (you pay a PIX). A good gateway covers both sides with the same API and the same confirmation standard, so you can automate collections and payouts in one flow.
Webhooks and confirmation
Payments are asynchronous: the customer pays sometime after the charge. That is why reliable webhooks are essential — it is how your application knows, in real time, that a PIX was confirmed, failed or was refunded, without polling the API in a loop.
Reconciliation and traceability
Every movement should be traceable and reconcilable per order. Look for a gateway that offers a clear ledger, with balances, fees and settlements accessible via API and dashboard. This eliminates parallel spreadsheets and reduces operational error.
How to choose
Evaluate: cash-in and cash-out coverage, webhook quality, fee transparency, sandbox and documentation quality. An isolated sandbox and ready-made examples shorten integration from weeks to days.
Astron Pay offers a complete PIX gateway — QR charges, payment links, cash-out to any key and webhooks — with an unlimited sandbox.
Astron Pay
The Astron Pay Team builds the PIX and stablecoin infrastructure companies use to receive, convert and pay in Brazil. We write about what we learn running payments in production.