PIX payment gateway: what it is, how it works, how to choose
Learn what a PIX payment gateway is, how QR Code charges, webhooks and reconciliation work in Brazil, and what to compare before choosing a provider.
Learn how to set up recurring billing that keeps customers: plan models, payment methods, retries, expired cards, cancellation flows and churn metrics.

Recurring billing is the process of charging the same customer automatically every period, whether monthly, quarterly or yearly, without them having to pay by hand. For a subscription model to work, setting up the charge is not enough: you need the right payment methods, a way to recover failures and a clear cancellation path. Some subscriptions end because a payment failed and nobody dealt with it, without the customer ever deciding to leave.
The plan format sets your cash flow rhythm, the number of charges per customer and the chances of failure. The most common models:
The free trial is a billing decision too. Asking for a card upfront filters out the merely curious and makes automatic conversion easier, but fewer people try the product. Without a card, more people sign up, and conversion depends on a good activation process. Either way, notify customers before the first charge.
Each method fails for different reasons, and offering more than one reduces your dependence on a single point. The table reflects the Brazilian market, but most methods have equivalents elsewhere.
| Method | How it works | Strength | Watch out for |
|---|---|---|---|
| Tokenized credit card | Saved card charged every cycle | No customer action, allows installments on annual plans | Expiry, blocks and credit limits |
| PIX Automático | One-time consent in the banking app | Money arrives instantly, no credit limit used | Insufficient balance, no installments |
| Boleto or due-date PIX | Invoice sent each cycle | Reaches customers without cards | Relies on the customer remembering to pay |
| Direct debit | Account debit under a bank agreement | No customer action | Requires an agreement with each bank |
PIX is Brazil's instant payment system, created and run by the Banco Central do Brasil, and PIX Automático is its recurring version, launched in June 2025. Boleto is a bank payment slip the customer pays at a bank or in an app.
A useful practice is to keep a backup payment method. If the card fails, the system can immediately offer another method for the open cycle instead of waiting for the next retry.
There are two kinds of churn. Voluntary churn happens when the customer decides to cancel. Involuntary churn happens when a payment fails and the subscription lapses without anyone asking for it. The usual causes of the second kind are expired cards, cards reissued after loss or theft, insufficient limits, precautionary blocks by the bank and technical errors.
Some tools tackle the problem before it shows up:
Dunning is the sequence of actions after a failed payment. An example structure to adapt to your business:
The decline reason matters. Hard declines, such as a cancelled card, should not be retried, and card networks have rules against excessive retries. Soft declines, such as insufficient limit, often succeed on another day. Tone matters too: customers should feel they are being helped to keep the service, not threatened.
Hiding the cancel button keeps no one. An unhappy customer who cannot leave complains, disputes the charge with their bank and never comes back. Offer cancellation through the same channel used to sign up and use that moment to learn why.
Before confirming, show real alternatives: pause the subscription for a while, move to a smaller plan or switch payment method. A single exit question with fixed options already reveals whether the problem is price, usage or a competitor.
For plan changes, prorate the amount for the remaining period and show the math before confirming. Unexpected charges on upgrades and downgrades are among the causes of disputes in subscription businesses.
Track these numbers every month:
A hypothetical example shows the weight of these numbers. With 1,000 subscribers paying 50 a month, each percentage point of monthly churn means 10 customers and 500 less in recurring revenue every month, a loss that compounds over time.
Bridgemoon has its own payment processing system and builds recurring billing into the client's product, with dunning, payment method switching and a metrics dashboard.
It is the loss of subscribers due to failed payments, without the customer asking to cancel. Expired cards, insufficient limits and bank blocks are the most common causes. Card updater services, well-planned retries and a backup payment method help win these customers back.
It depends on the decline reason and on the rules of the card network and your acquirer. Hard declines should not be retried, while soft declines can be retried at spaced intervals. Confirm the limits with your provider to avoid penalties for excessive attempts.
Offering both usually works best. Upfront, you receive everything at once and can give a bigger discount. In card installments, common in Brazil, the plan fits more budgets, and you can prepay the receivables if you need the cash.