The default assumption in agentic commerce is that agents will pay with cards. Stripe ACP is built around card-on-file. Rye uses stored cards. Most US-focused agentic payment solutions start with the card rail because that's what exists. Visa and Mastercard processed $14.8 trillion in 2024. The infrastructure is massive, globally interoperable, and deeply entrenched.
But the card rail was designed for humans standing at a counter. It was extended to humans clicking "buy" on a website. And now the industry wants to extend it again — to autonomous software agents executing commerce workflows at machine speed, 24/7, without human oversight.
This is a mistake. Not because cards are bad, but because instant payment rails — the kind that exist today in Latin America — are structurally superior for agentic workloads. And we have the data to prove it.
This post makes the case with specific numbers, regulatory analysis, and architectural reasoning. If you're building agentic commerce infrastructure, the payment rail you choose is not a feature decision — it's an architecture decision that determines your unit economics, your compliance burden, and the speed at which your agents can operate.
We are not hedging. We believe cards are the wrong default for agentic commerce. Here's why.
Pix by the numbers: the fastest-growing payment rail on Earth
The Banco Central do Brasil (BCB) launched Pix on November 16, 2020. In four years it became the dominant payment method in the largest economy in Latin America. The numbers are staggering:
To put 64.5 billion transactions in perspective: Visa processed approximately 213 billion transactions globally in 2024. Pix, operating in a single country with 215 million people, processed 30% of Visa's global transaction count. In 2021, Pix processed 8.7 billion transactions. By 2023, that number hit 42 billion. In 2024, it reached 64.5 billion — a growth rate that makes every other payment rail look static.
BCB data shows the trajectory is accelerating, not plateauing. Monthly Pix transactions exceeded 5.6 billion in December 2024. The average Brazilian made 29.3 Pix transactions per month. For comparison, the average American makes roughly 22 card transactions per month across all card types. A single-country instant payment rail in a developing economy has already surpassed US card usage on a per-capita basis.
Why did this happen?
Three structural decisions by the BCB explain the adoption curve:
- Mandatory participation. BCB mandated that every licensed financial institution with over 500,000 accounts must offer Pix. This wasn't optional. Every bank, fintech, and digital wallet was required to implement the Pix protocol. On launch day, over 730 institutions were live.
- Free for consumers. Pix is free for individuals for any transaction — P2P, P2B, B2P. The BCB prohibited institutions from charging consumers. This removed the single largest barrier to adoption: transaction fees.
- 24/7/365 instant settlement. Pix settles in under 10 seconds, any time, any day, including weekends and holidays. There is no batch processing, no business-day constraint, no settlement window. Money moves in seconds, always.
No card network in history has achieved this combination. Visa and Mastercard charge interchange fees (typically 1.5–3.5% in LatAm), settle in 1–3 business days, and rely on a complex chain of acquirers, processors, and issuers. Pix operates as a direct bank-to-bank transfer, mediated by the central bank's SPI (Sistema de Pagamentos Instantaneos) backbone.
The structural case: why agents prefer instant settlement
When we say Pix is "better for agents," we don't mean it's marginally more convenient. We mean the architecture of the rail is fundamentally more compatible with how autonomous agents need to operate. The advantages are structural, not cosmetic.
1. Finality eliminates state management complexity
A card transaction goes through multiple states: authorized, captured, settled, potentially disputed, potentially reversed. An agent processing a card payment must model and handle all of these states. It must store the authorization ID, poll for capture confirmation, handle partial captures, manage void windows, and maintain dispute response logic for up to 120 days after the transaction.
A Pix transaction has two states: pending and settled. The transition from pending to settled takes under 10 seconds. Once settled, the transaction is final. There is no chargeback mechanism, no dispute window, no reversal path. The agent's state machine goes from "waiting for payment" to "payment confirmed" and never looks back.
This isn't a minor optimization. State management is the primary source of complexity in automated payment workflows. Every additional state is a potential failure point, a recovery scenario, an edge case the agent must handle. Pix eliminates most of them by design.
2. No chargebacks means no dispute infrastructure
The card chargeback system was designed to protect consumers from fraudulent merchants. It made sense in 1974 when the Fair Credit Billing Act was passed. It makes less sense when the "customer" is an AI agent executing a programmatic purchase based on deterministic criteria.
Card chargebacks cost US merchants an estimated $117 billion in 2023 (Chargebacks911 data). The dispute resolution process involves evidence collection, representment documents, arbitration fees, and a success rate for merchants of roughly 30%. Building automated dispute handling into an agent is possible but expensive: you need document generation, deadline tracking, case management, and escalation logic.
Pix has a "devolucao" (return) mechanism, but it's fundamentally different from a chargeback. It can only be initiated within specific fraud scenarios and requires the receiving institution to approve the return. There is no unilateral reversal. The merchant (or the agent acting on behalf of the merchant) is not at risk of having confirmed revenue clawed back months later.
For agents running the Complete Loop — payment, invoicing, fulfillment, notification — this is transformative. The agent can issue an NF-e (electronic invoice) immediately after payment confirmation because there is no risk of the payment being reversed after the invoice is issued. In a card world, issuing a tax invoice before settlement closes is a compliance risk.
3. QR codes are machine-native interfaces
Card payments require either stored credentials (card-on-file with PCI compliance) or a redirect to a checkout page designed for humans. Both are awkward for agents. Card-on-file requires PCI DSS scope, tokenization, and credential rotation. Checkout redirects require the agent to interact with a UI intended for humans.
Pix uses three machine-friendly interfaces:
- Static QR code. A fixed payload identifying the merchant. The payer specifies the amount. Useful for recurring payments to the same recipient.
- Dynamic QR code. A one-time payload with a specific amount, expiration, and transaction ID. Generated programmatically per transaction. This is the default for agent-driven commerce.
- Pix Copia-e-Cola. A text string representation of the QR code payload. An agent can generate it, embed it in a WhatsApp message, and the customer copies it into their banking app. No image rendering required.
All three are programmable, API-driven, and require zero human interaction on the merchant side. An agent generates a dynamic QR code via API, sends it to the customer via WhatsApp, and receives a webhook confirmation when payment completes. The entire flow is machine-to-machine except for the customer tapping "confirm" in their banking app.
Contrast this with card rails: card-not-present transactions require either a tokenized card (requiring initial card capture, PCI scope, and token management) or a redirect to a third-party checkout page (Stripe Checkout, PayPal, etc.) that breaks the agent's conversational flow. The QR code and Copia-e-Cola interfaces are native to messaging — they can be embedded directly in a WhatsApp message, keeping the entire commerce experience inside the customer's preferred channel.
4. Zero PCI scope
Any system that stores, processes, or transmits card numbers must comply with PCI DSS. This is a non-trivial compliance burden: annual assessments, quarterly vulnerability scans, network segmentation, encryption requirements, and access controls. PCI DSS 4.0 (effective March 2025) adds new requirements for script monitoring, authentication, and risk analysis.
Pix transactions never involve card numbers. The identifiers are Pix keys (CPF, email, phone, random UUID) or transaction-specific QR codes. There is no sensitive cardholder data to store or protect. An agent-driven commerce platform built on Pix has zero PCI scope. This reduces compliance cost, simplifies architecture, and eliminates an entire category of security vulnerabilities.
Unit economics: Pix vs cards for agent-driven commerce
The cost difference between Pix and cards in Brazil is not marginal. It's an order of magnitude.
For a R$100 transaction (approximately $18 USD), the merchant pays roughly R$0.22 via Pix versus R$2.99 via credit card. On a R$1,000 transaction, the difference is R$2.20 versus R$29.90. For an agent processing thousands of transactions per day, this cost difference compounds dramatically.
But the headline MDR (Merchant Discount Rate) understates the true cost differential. Card transactions carry hidden costs that don't appear in the MDR:
- Chargeback losses. Approximately 0.6% of all card transactions in Brazil are disputed. Even at a 30% win rate for merchants, the net loss is approximately 0.42% of volume.
- Float cost. Card settlement takes 28–30 days in Brazil for standard plans. The working capital cost of waiting a month for settlement, at Brazil's SELIC rate of 14.25%, is approximately 1.1% of the transaction value.
- Anticipation fees. Merchants who want faster settlement pay anticipation fees of 1.5–3.0% to their acquirer. This is essentially a factoring cost that doesn't exist with Pix (because settlement is instant).
- PCI compliance costs. Annual PCI assessments, quarterly scans, and security infrastructure add approximately $15,000–$50,000 per year for mid-market merchants.
When you add the hidden costs, the all-in cost of card acceptance in Brazil is approximately 4.5–6.5% of transaction volume. Pix's all-in cost is 0.22% or less. For an agent processing R$1 million per month, that's a difference of R$45,000–R$65,000 versus R$2,200. Per month.
The unit economics of agent-driven commerce on card rails are punitive. Every transaction carries 3–6% in visible and hidden costs. On Pix, those costs collapse to near zero. This isn't a rounding error. It's the difference between viable and unviable agent economics.
The DICT and anti-fraud layers: programmable security
Critics of instant payment rails point to fraud risk. If transactions are irrevocable, what prevents an agent from being tricked into sending money to a fraudulent recipient? The BCB anticipated this objection and built multiple layers of programmatic fraud prevention into the Pix infrastructure.
DICT (Diretorio de Identificadores de Contas Transacionais)
DICT is the central directory of Pix keys. Every Pix key (CPF, CNPJ, email, phone, random UUID) is registered in DICT with its associated bank account. Before any Pix transaction, the sending institution queries DICT to resolve the key to a specific bank account. This query also returns anti-fraud signals:
- Key ownership verification. DICT confirms that the key belongs to the claimed recipient. An agent can verify that a CNPJ key matches the expected company name before sending payment.
- Infraction markers. DICT flags keys that have been involved in fraud reports. Institutions are required to report suspected fraud to DICT within 24 hours.
- Account age and activity signals. DICT provides indicators about the age of the key registration and the account's transaction history, enabling risk scoring.
An agent can query DICT before executing a payment and make a programmatic decision based on the risk signals. This is impossible with cards — there is no equivalent real-time directory that provides recipient risk scoring before authorization.
Pix transaction limits and velocity controls
BCB mandates that all institutions implement configurable transaction limits. The default nighttime limit (8pm–6am) is R$1,000. Users can request increases, but increases take 24–48 hours to take effect. For agents operating on behalf of merchants, these limits can be set programmatically via the PSP's (Payment Service Provider) API.
Additionally, institutions must implement velocity controls: maximum number of transactions per hour, per day, and per month. An agent can be configured with its own velocity profile that matches the expected transaction pattern, and any deviation triggers automated holds.
MED (Mecanismo Especial de Devolucao)
MED is the BCB's fraud recovery mechanism. If a Pix transaction is identified as fraudulent within 80 days, the receiving institution can freeze the recipient's funds and initiate a return. This isn't a chargeback (the sender can't unilaterally reverse), but it provides a backstop for clear fraud cases. For agents, MED is a safety net: if an agent is compromised and sends funds to a fraudulent account, MED provides a recovery path.
How codespar_pay routes to the right Pix provider
Pix is a protocol, not a product. Every PSP (Payment Service Provider) implements Pix with its own API, its own quirks, and its own failure modes. An agent shouldn't need to know which PSP is processing the payment. It should call codespar_pay and let the infrastructure handle routing.
Under the hood, codespar_pay selects the optimal PSP based on the organization's configuration. The SDK supports multiple PSP backends — each wrapped in an MCP server that normalizes the API surface. The agent doesn't know or care whether the payment was routed through Itau, Mercado Pago, or Asaas. It receives a standardized response with the settlement status, the endToEndId (Pix's unique transaction identifier), and the receipt artifacts.
Why the meta-tool abstraction matters
PSPs fail. Not often, but enough to matter for production agent workloads. Itau's Pix API had three outages exceeding 30 minutes in Q1 2026. Mercado Pago's QR code generation endpoint rate-limits at 100 requests per minute per merchant. Each PSP has different idempotency semantics, different webhook formats, and different error codes for the same failure mode.
The codespar_pay meta-tool abstracts all of this. It handles PSP failover (if the primary PSP is down, route to the secondary), normalizes error responses, manages idempotency keys, and provides a single webhook format for settlement confirmation. The agent operates against a stable interface while the infrastructure handles the provider-specific chaos underneath.
Pix in the Complete Loop
In CodeSpar's Complete Loop architecture, Pix is step 2 of 6. The full sequence for an agent-driven commerce transaction in Brazil:
Notice what happens between steps 2 and 3. The agent issues the NF-e immediately after payment confirmation. There is no waiting for settlement, no hold period, no risk of reversal. This is only possible because Pix settlement is final. On card rails, an agent would need to wait for capture confirmation (minutes to hours), and issuing a tax invoice before settlement closes is a compliance risk in Brazil — SEFAZ can flag NF-e issued against payments that are later reversed.
The multi-country picture: instant rails across LatAm
Brazil is the most developed case, but instant payment rails are proliferating across Latin America. Each country's rail has different characteristics, but they share the structural advantages over cards:
Mexico: SPEI and CoDi
SPEI (Sistema de Pagos Electronicos Interbancarios) processes over 2.5 billion transactions annually. Settlement is under 30 seconds. Banxico (the central bank) launched CoDi (Cobro Digital) as a QR-code layer on top of SPEI, enabling programmable merchant payments. CoDi adoption has been slower than Pix due to less aggressive mandates, but SPEI itself is deeply embedded in Mexican commerce. B2B payments, payroll, and e-commerce all run on SPEI. Agent-driven commerce in Mexico routes through SPEI with the same architectural advantages as Pix.
Argentina: Transferencias 3.0
BCRA's Transferencias 3.0, launched in late 2021, introduced interoperable QR codes across banks and digital wallets. Any wallet can scan any merchant's QR code — the interoperability mandate broke the closed-loop dominance of Mercado Pago and Uala. Settlement is near-instant. Transaction volumes exceeded 1.2 billion in 2024. The QR code standard (EMVCo-based, like Pix) makes it programmatically accessible for agents.
Colombia: Transfiya
ACH Colombia's Transfiya provides instant bank-to-bank transfers. While smaller in scale than Pix or SPEI, Transfiya is growing rapidly and has the same structural advantages: instant settlement, no chargebacks, QR code support. The Colombian government is pushing adoption through utility payment mandates. Transfiya processed over 380 million transactions in 2024, up from 210 million in 2023 — an 81% growth rate that mirrors Pix's early trajectory.
The convergence pattern
What's striking about these rails is their convergence. All four share the same core properties: instant settlement, irrevocability, QR code interfaces, central bank governance, and open API mandates. This is not coincidental. Latin American central banks have been actively coordinating through forums like CEMLA (Centro de Estudios Monetarios Latinoamericanos). The design patterns established by Pix are being adopted region-wide, creating a structurally homogeneous payment layer that is uniquely amenable to agent automation.
For an agent platform, this convergence is a gift. The abstraction layer required to support all four rails is thin because the underlying semantics are nearly identical. Generate a QR code, wait for a webhook, confirm settlement. The API surfaces differ, but the state machine is the same. This is why a single meta-tool (codespar_pay) can route to any of them without the agent needing to know which country's rail is being used.
Each of these rails has an MCP server in the CodeSpar catalog. The meta-tool routes to the correct rail based on the transaction context — currency, recipient country, and PSP availability.
Pix Internacional: the cross-border future
The BCB is not standing still. Pix Internacional, currently in development with an expected pilot in late 2026/early 2027, will extend Pix's instant settlement to cross-border transactions. The initial corridors are Brazil-Argentina, Brazil-Colombia, and Brazil-Portugal (remittances).
The implications for agent commerce are significant. Today, an agent serving a Brazilian merchant who sells to an Argentine customer must navigate foreign exchange, correspondent banking, and multi-day settlement. Pix Internacional would collapse this to a single instant transaction with real-time FX conversion at central bank rates.
BCB has also announced discussions with BIS (Bank for International Settlements) about connecting Pix to Project Nexus, a multilateral instant payment interconnection initiative. If Pix connects to Nexus, Brazilian merchants could receive instant payments from customers in India (UPI), Singapore (PayNow), Malaysia (DuitNow), and Thailand (PromptPay) — all at near-zero cost.
For an agent-driven commerce platform operating across LatAm, this is the endgame: a single payment meta-tool that routes to the optimal instant rail for any source-destination country pair, settling in seconds at central bank exchange rates, with zero chargeback risk.
The timing matters. Cross-border e-commerce between LatAm countries is growing at 22% annually (Americas Market Intelligence, 2024). Brazilian consumers buying from Argentine merchants, Colombian sellers shipping to Mexican buyers — these flows are increasing and they're currently hampered by 3–5 day settlement times and 4–6% FX conversion costs through traditional correspondent banking. Pix Internacional would reduce both to seconds and basis points respectively. An agent that can execute cross-border commerce at that speed and cost has a transformative advantage over one stuck on card rails with multi-day international settlement.
Pix Internacional doesn't just extend Pix across borders. It creates the possibility of a global instant payment mesh where agents settle cross-border commerce at the speed of the underlying rails — seconds, not days. Card networks have never achieved this, and their architecture makes it structurally impossible.
The competitive landscape: why US-first platforms will struggle
Stripe ACP, Rye, and other US-first agentic commerce platforms are building on card rails because that's what dominates their home market. This creates a structural disadvantage in LatAm:
- Cost. Card MDR in Brazil is 2.99–3.99% for credit, plus float and chargeback costs. Pix is 0.22%. An agent built on Stripe in Brazil pays 14x more per transaction than one built on Pix.
- Speed. Card authorization takes 2–5 seconds, but settlement takes 28–30 days. Pix settles in 10 seconds. An agent on card rails can't issue invoices until settlement confirms. An agent on Pix issues them immediately.
- Consumer preference. 74% of Brazilian e-commerce transactions in Q4 2024 used Pix. Cards accounted for 21% (and declining). An agent that only accepts cards is rejecting the preferred payment method of three-quarters of customers.
- Compliance. Pix transactions don't require PCI DSS compliance. Card transactions do. The compliance burden alone can add months to a platform's go-to-market in Brazil.
This isn't a temporary gap. It's a structural mismatch between a payment rail designed for human-initiated commerce and one designed for programmable, instant, machine-speed transactions. As agent-driven commerce scales, the mismatch only widens.
The Open Finance multiplier
Brazil's Open Finance initiative compounds the advantage. BCB mandates that all participating institutions (over 800 as of Q1 2026) expose payment initiation APIs via Open Finance. This means an agent can initiate a Pix payment directly from the customer's bank account — no QR code, no copy-paste, no app switching. The customer authorizes the payment in their banking app with a single biometric confirmation, and the money moves.
Open Finance payment initiation via Pix is the closest thing to "one-click checkout" that exists in real-time payments. For agents, it eliminates the last point of friction in the Pix flow: the customer manually scanning or pasting the QR code. The agent generates a payment initiation request, sends it as a deeplink in WhatsApp, and the customer taps once to authorize. Payment confirms in under 10 seconds.
No equivalent infrastructure exists in the US. FedNow launched in July 2023 but has no Open Finance mandate, no QR code standard, and minimal consumer adoption. Visa and Mastercard have no interest in enabling instant, free, bank-to-bank payments that bypass their networks. The structural incentives prevent it.
The regulatory moat
The BCB's regulation of Pix creates a moat that benefits platforms built on top of it. Key regulatory advantages:
- Mandatory participation. Any new bank or fintech in Brazil must implement Pix. This guarantees 100% reach — every bank account in Brazil can receive a Pix payment.
- Free for consumers, forever. The BCB has made it clear that Pix will remain free for individual transactions. This eliminates the risk of fee increases eroding unit economics.
- Open Finance integration. BCB's Open Finance initiative (the most advanced implementation globally, ahead of the UK and EU) mandates that banks expose payment initiation APIs. An agent can initiate a Pix payment directly from a customer's bank account via Open Finance, without the customer leaving the WhatsApp conversation.
- Pix Automatico. Launching in June 2025, Pix Automatico enables recurring payments without requiring the customer to authorize each transaction. This is the Pix equivalent of card subscriptions, but without the chargeback risk and at a fraction of the cost. For agents managing subscription-based commerce (SaaS, consumables, memberships), Pix Automatico is transformative: the agent sets up the recurring charge once, and subsequent payments execute automatically on the agreed schedule. No card expiration issues, no tokenization renewal, no involuntary churn from declined cards.
These regulatory mandates create infrastructure guarantees that don't exist in the card world. Visa and Mastercard can change interchange rates, modify network rules, and alter dispute procedures unilaterally. BCB regulations provide stability and predictability that agent-driven platforms can build on with confidence.
The cumulative effect of these regulatory advantages is a payment infrastructure that is not only technically superior for agents but also institutionally protected. The BCB has staked its institutional credibility on Pix's success. They will not allow it to degrade, become expensive, or lose coverage. This is a guarantee that no private payment network can offer.
Our position
We are building CodeSpar with a clear thesis: instant payment rails are the default for agent commerce, and cards are the fallback. This is the opposite of the US-first approach, where cards are the default and everything else is an afterthought.
In Brazil, 74% of e-commerce is Pix. In Mexico, SPEI dominates B2B. In Argentina, Transferencias 3.0 is growing faster than cards. The infrastructure is here. The regulatory support is here. The cost advantage is overwhelming. The settlement speed is transformative for agent workflows.
Every agent in the CodeSpar platform calls codespar_pay. The meta-tool decides whether to route to Pix, SPEI, Transferencias 3.0, or — as a last resort — cards. The agent doesn't care. The infrastructure does the right thing.
We believe this thesis extends beyond LatAm. India's UPI processed 131 billion transactions in 2024. Thailand's PromptPay is growing at 40% year-over-year. Singapore's PayNow, Nigeria's NIP, and Kenya's PesaLink are following the same trajectory. The global trend is unmistakable: instant, free, bank-to-bank rails are replacing card rails for domestic commerce. LatAm is not an exception — it's the leading indicator.
The platforms that build their agent payment infrastructure on instant rails today will have a structural advantage that compounds over time. The platforms that wait for cards to evolve (RTP, FedNow, card-not-present improvements) will be competing with one hand tied behind their back — paying 10–15x more per transaction, waiting days for settlement, and managing chargeback complexity that instant rails have eliminated by design.
Latin America's payment infrastructure is more agent-ready than the US. While ACP builds agent payments on top of card rails (with all their complexity), LatAm agents can use instant settlement rails that are simpler, cheaper, and final. The infrastructure advantage isn't temporary — it's structural. And with Pix Internacional and BIS Project Nexus on the horizon, the advantage is about to go global.
The question for every agentic commerce platform is simple: do you want your agents paying 4.5% per transaction and waiting 30 days for settlement, or paying 0.22% and settling in 10 seconds? The answer determines whether your agent economics work or don't.