
Picking the wrong payment gateway erodes your margin and jams your operation. Every percentage point of fee, every extra day in the payout window and every integration limitation becomes a direct hit to your cash flow -- and in an app or e-commerce store, that multiplies across thousands of transactions.
The problem is that "gateway" has become an umbrella term. Under the same name live pure gateways, sub-acquirers, acquirers and orchestrators, each with a different cost, risk and payout model. Understanding this chain is the first step to not overpaying for the wrong choice.
This guide is a practical comparison of Brazil's main payment gateways in 2026 -- Mercado Pago, Stripe, Pagar.me, Asaas and PagBank -- written for anyone building an app, an e-commerce store or a custom system in the Brazilian market. The focus is the decision: payment methods, split, anti-fraud, payout windows and how to integrate.
In this article
- How a payment gateway works
- Gateway vs sub-acquirer vs acquirer
- Comparison of Brazil's main gateways
- Fees, payout windows and anti-fraud
- Payment methods: PIX, card, boleto and wallets
- Split payment for marketplaces
- How to integrate a gateway your way
- How to choose the right gateway
- FWC projects with payments
- Frequently Asked Questions
- Next Step
How a payment gateway works
A payment gateway is the software layer that connects your checkout to the financial system's back end. It receives the transaction data, encrypts it, routes it to the card network and issuing bank, and returns the answer -- approved or declined -- in seconds.
In practice, the gateway does four jobs: securely capture the payment, tokenize sensitive data (so a raw card number never travels), apply anti-fraud rules and confirm the transaction via webhook. All of that without the customer leaving your screen.
A purchase cycle passes through several stages in milliseconds: checkout capture, authorization by the network and issuer, actual capture of the amount and, finally, settlement (when the money truly lands in the account). Confusing authorization with settlement is a common mistake that breaks reconciliation.
For an app or e-commerce store, the gateway is what turns purchase intent into money received. A poor integration produces abandoned carts, duplicate charges and manual reconciliation -- exactly the opposite of what a digital operation should deliver.
It helps to separate two concepts that confuse many people. The gateway is the road the transaction travels on; the account (sub-acquirer or acquirer) is who takes the risk and pays out the money. In Brazil, many players like Mercado Pago and PagBank deliver both roles in the same package.
There is also the matter of PCI DSS, the security standard for card data. When you use a serious gateway, much of that responsibility sits with it -- as long as you never store card numbers in your system, which tokenization is designed to avoid.
Gateway vs sub-acquirer vs acquirer
Understanding the payment chain prevents overpaying and picking the wrong partner. There are three main roles in Brazil, and most popular gateways mix functions.
The acquirer processes and settles card transactions with the networks. Cielo, Rede, GetNet and Stone are examples. Contracting an acquirer directly usually gives the lowest fee, but it demands volume, negotiation and a more complex integration.
The sub-acquirer (or payment facilitator, the PayFac) operates under its own tax ID, aggregates many merchants and takes on the risk. Mercado Pago, PagBank and PayPal work this way. The upside is fast onboarding and simple integration; the cost is a fee generally higher than the direct acquirer's.
A pure gateway only transmits data and connects the merchant to one or more acquirers, without taking risk or settling. An orchestrator goes further: it routes the transaction across several acquirers to raise approval rates and cut cost.
For most early-stage apps and e-commerce stores, a sub-acquirer solves it: you start fast, without red tape. As volume grows, it makes sense to move to gateway plus a direct acquirer and win back margin -- a natural product evolution.
This whole structure is regulated by Brazil's Central Bank, which defines what a payment arrangement is. For the official source, see the Central Bank of Brazil portal.
Comparison of Brazil's main gateways
The table below summarizes the five gateways most used by Brazilian apps and e-commerce stores in 2026. It is for a quick overview; the details on fees, payout windows and anti-fraud come in the sections that follow.
Important: fees change often and vary by account profile, volume and negotiation. Treat the values here as a public reference from mid-2026 and always confirm on each player's official pricing page before deciding.
| Gateway | Payment methods | Split | Highlight | Note |
|---|---|---|---|---|
| Mercado Pago | PIX, card, boleto, wallets, QR Code | Yes (Marketplace) | Complete ecosystem, strong in retail | Sub-acquirer; transparent checkout, link and card reader |
| Stripe | Card, PIX, wallets (Apple/Google Pay) | Yes (Connect) | Reference documentation; ideal for SaaS and international billing | Global gateway; PIX for BR companies is invite-only |
| Pagar.me | PIX, card, boleto, wallets | Yes (advanced rules) | Flexible split; a marketplace favorite | Part of the Stone Group; built-in anti-fraud |
| Asaas | PIX, boleto, card, bank transfer | Yes (native) | Recurring billing and dunning workflow | Payment institution regulated by the Central Bank |
| PagBank (PagSeguro) | PIX, card, debit, boleto, QR Code | Yes | Progressive fees by revenue; online and card reader | Sub-acquirer with an integrated digital account |
Official pricing and documentation pages (check current fees): Mercado Pago, Stripe, Pagar.me, Asaas and PagBank.
Beyond these five, it is worth noting acquirers with a gateway arm, such as Cielo (via Braspag) and Rede, plus independent orchestrators. For high-volume operations, evaluating these options can cut cost -- but the integration is more complex.
Fees, payout windows and anti-fraud
A gateway's cost is not only the per-transaction fee. It combines MDR (percentage per sale), a fixed fee, receivables advance, chargeback and, in some cases, a monthly fee. Adding it all up is the only way to compare for real.
Some plans charge a monthly fee for premium features or priority support, while others waive it and concentrate the cost in the per-transaction fee. For small operations, the no-monthly-fee model almost always wins; for high volume, a monthly fee that lowers the rate can pay off.
As a public reference in mid-2026, PIX tends to cost from around 1% per transaction (with lower floors for higher-volume business accounts), boleto has a fixed fee of a few reais, and the credit card varies with the payout window. These numbers change often -- confirm on each gateway's official page.
The payout window matters as much as the fee. PIX lands instantly or at D+1; boleto clears in 1 to 3 business days; credit card usually settles at D+30, unless advanced (which has a cost). Advancing receivables improves cash flow but makes the operation more expensive.
| Payment method | Typical payout window | Chargeback | Note |
|---|---|---|---|
| PIX | Instant or D+1 | None | Lowest cost; no native installments |
| Boleto | 1 to 3 business days | None | Conversion depends on the customer paying later |
| Credit card | D+30 or advanced | Yes | Allows installments; requires anti-fraud |
| Debit card | D+1 to D+2 | Low | High approval, smaller ticket |
| Digital wallets | Follows the underlying method | Per method | Less friction at mobile checkout |
Anti-fraud is the third pillar. Gateways like Pagar.me and Mercado Pago bring integrated risk analysis that scores each transaction and blocks suspicious purchases. In high-ticket or high-chargeback sectors, that engine can be the difference between profit and loss.
Watch out for chargebacks: when the cardholder disputes a purchase, the amount is reversed and may carry a fee. Good anti-fraud reduces chargebacks, but none eliminates them; that is why reconciliation and audit trails are part of the project, not a detail.
To size how much payment integration weighs on your project budget, see our guide on how much custom software costs and simulate it in the app price calculator.
Payment methods: PIX, card, boleto and wallets
The payment method mix defines conversion. In Brazil in 2026, offering only cards leaves money on the table: PIX already accounts for around 40% of the value transacted in e-commerce, according to market reports and data from ABComm.
PIX is today the most strategic method: instant approval, low cost and no chargeback risk. For recurring businesses, PIX Automatico opens the door to recurring billing without a card -- a topic we detail in PIX recurring payments in apps.
The credit card still leads in value, mainly because of installments. It brings conversion on high tickets, but carries a higher fee, a long payout window and chargeback risk -- it requires solid anti-fraud and tokenization.
Boleto is losing share, but still matters for audiences without cards or in high-value B2B sales. The trade-off is slower clearing (1 to 3 days) and lower conversion, since it depends on the customer completing payment afterward.
Digital wallets (Apple Pay, Google Pay, PayPal and Click to Pay) reduce friction at mobile checkout, where typing a card is the biggest abandonment point. Supporting wallets is increasingly a requirement, not a luxury, in apps of any segment.
The practical rule: the more relevant methods you offer, the higher the conversion -- as long as the checkout stays simple. A good gateway delivers PIX, card, boleto and wallets in a single integration, with the same reconciliation.
Split payment for marketplaces
A split payment automatically divides the value of a sale among several recipients at the moment of the transaction. It is the backbone of any marketplace, delivery app or platform with multiple sellers.
Without split, all the money lands in the operator's account, which then has to manually pass along each share -- a nightmare of reconciliation, cash flow and compliance. With split, each party receives directly, with rules defined per transaction.
Pagar.me, Mercado Pago, Asaas and PagBank offer split via API, each with its own flexibility. Pagar.me is known for advanced, customizable rules, which made it a favorite of more complex Brazilian marketplaces.
Split behaves differently by payment method. With PIX, the division happens instantly; with boleto, at clearing (D+1 or D+2); with card, the split amount is released after settlement (usually D+30). Planning this is essential for the recipients' cash flow.
If you are considering building a platform with multiple sellers, it is worth reading how to build a marketplace and the comparison between custom e-commerce and marketplace to decide the model before choosing the gateway.
Delivery apps are the classic split case: on every order, the value is split among restaurant, courier and platform. We detail the cost and architecture of that model in the guide on how much a delivery app costs.
How to integrate a gateway your way
There are three ways to integrate payments, and the choice changes effort, control and security responsibility (PCI DSS). Choosing wrong means expensive rework later.
The hosted checkout (redirect or payment link) is the fastest: the customer is taken to a gateway page. Less brand and UX control, but almost zero PCI responsibility -- good for MVPs and one-off sales.
The transparent checkout (via API) keeps the customer on your screen, with your brand, while the gateway processes behind the scenes. It is the standard for serious apps and e-commerce stores, because it combines high conversion with experience control.
The full API integration gives total control: tokenization, split, recurring billing, webhooks and custom reconciliation. It demands more engineering and PCI DSS care, but it is what sustains complex products and fintechs.
Regardless of the model, two points are non-negotiable: reliable webhooks to confirm payment asynchronously and idempotency to prevent duplicate charges. Ignoring these creates money bugs -- the worst kind a system can have.
Before going live, test everything in the sandbox: approval, decline, refund, timeout and webhook retry. Payments are the area where errors cost the most, so automatic reconciliation and monitoring are not optional.
The official documentation is the best integration map: Mercado Pago Developers, Stripe Docs, Pagar.me Docs and Asaas Docs.
In practice, a custom integration ensures the payment talks to the rest of the system -- inventory, ERP, invoices and CRM. That is what separates a checkout that merely charges from an operation that closes the entire financial cycle.
How to choose the right gateway
There is no universal "best payment gateway" -- there is the right one for your model. The choice depends on business type, priority payment methods, split needs and expected volume.
For e-commerce and retail, ecosystems like Mercado Pago and PagBank deliver a ready-made checkout, many methods and fast onboarding. For SaaS and recurring billing, Asaas (with dunning workflow and boleto) and Stripe (subscriptions and international billing) stand out.
For marketplaces and apps with multiple recipients, prioritize flexible split: Pagar.me and Mercado Pago are references. For international operations or multi-currency billing, Stripe is usually the most natural path.
Add to that the total cost (not just the PIX fee), the payout window, the quality of documentation and anti-fraud, and support. A fee 0.2% lower is not worth it if the integration is fragile or the payout jams your cash flow.
When it is time to decide, run a quick checklist: which methods your customers use, whether you need split, what payout window your cash flow can bear, the expected monthly volume and whether there is recurring or international billing. The answers eliminate half the options right away and make the decision objective.
A common mistake is locking the product to a single gateway. Architecting a payment abstraction layer lets you swap or add providers later, without rewriting the checkout -- a cheap decision early, an expensive one to fix later.
If the goal is to monetize the app by receiving payments, it is worth first understanding the revenue models in the guide on how to make money with an app. And for financial products, the extra requirements are in how to build a fintech app.
FWC projects with payments
At FWC Tecnologia, payment integration is a recurring part of what we ship: cashback, loyalty, e-commerce and fintech all pass through a gateway, PIX and reconciliation.
Desconto Premiado is a cashback and loyalty platform -- a classic case of a financial flow with rewards, balance and payout rules to the user. Moving money securely is the heart of the product.
App da Renda operates in fintech territory, where payment, balance and anti-fraud are not accessory features: they are the product. Here, the gateway choice and payout architecture define viability.
Oba Ofertas lives in the world of e-commerce and deals, where a smooth checkout and multiple payment methods decide conversion. Less friction at payment means more completed sales.
In all of them, the pattern is the same: choose the gateway by use case, integrate via API with webhooks and idempotency, and close the cycle with reconciliation. That is what separates "accepting payment" from "operating money securely".
Frequently Asked Questions
What is a payment gateway?
A payment gateway is the software layer that connects an app or e-commerce checkout to banks and card networks. It captures, encrypts and routes the transaction, applies anti-fraud and confirms the payment. In practice, it is what turns purchase intent into money received securely.
Which is the best payment gateway in Brazil?
There is no universal best. Mercado Pago and PagBank shine in retail, Stripe in SaaS and international billing, Asaas in recurring billing and boleto, and Pagar.me in marketplaces with split. The right one depends on your business model, priority payment methods and expected volume.
What is the difference between gateway, sub-acquirer and acquirer?
The acquirer processes and settles cards with the networks (Cielo, Rede, Stone). The sub-acquirer operates under its own tax ID and takes the risk, with fast onboarding (Mercado Pago, PagBank). The gateway only transmits data. Many market players combine these roles in the same service package.
What is a split payment?
A split payment is the automatic division of a sale's value among several recipients at the moment of the transaction. It is essential in marketplaces, delivery apps and multi-seller platforms, since it avoids manual payouts. Each party receives directly, with rules defined per transaction, cutting reconciliation work.
What are the fees of a payment gateway?
The cost combines MDR (percentage per sale), a fixed fee, receivables advance and chargeback. As a 2026 reference, PIX starts around 1%, boleto has a fixed fee of a few reais and the card varies with the payout window. Always confirm on each gateway's official page.
Which is the best payment gateway for an app?
For apps, prioritize a gateway with transparent API checkout, PIX and digital wallet support, split (if there are multiple recipients) and good documentation. Mercado Pago, Pagar.me and Stripe serve this scenario well. The final decision depends on the app's model and the need for recurring billing or marketplace.
How do you integrate a payment gateway?
There are three paths: hosted checkout (fast, less control), transparent checkout via API (the standard for serious apps) and full API integration (total control). In all of them, use reliable webhooks and idempotency to prevent duplicate charges, test in the sandbox and connect the payment to your ERP and reconciliation.
Next Step
Choosing and integrating the right gateway is an engineering and a business decision at the same time -- and it impacts margin, cash flow and conversion from day one.
At FWC Tecnologia, we design the payment architecture together with the product: gateway choice, PIX, card, split, anti-fraud and reconciliation, all integrated into your app or system. Simulate the investment in the app price calculator and request a tailored quote for your project.
