Seven Layers Between an AI Agent and Your Money
Agent commerce needs seven infrastructure layers to work, and most of the stack is still missing or contested.
Seven layers sit between an AI agent and a completed payment. Identity, authorization, checkout, payment rails, settlement, receipts, disputes. Some have production implementations, others have competing proposals, and a few have nothing at all.
Conferences talk about identity and authorization. Vendors pitch whatever layer their product covers. But if you try to build the full stack from agent identity through settlement through disputes, you hit a specific problem at every layer, and the layers don't connect.
Layer 1: Identity
Before an agent can pay, the merchant needs to know what it is. A human buyer has a name, a card, and a device fingerprint. An agent has none of those. It needs a verifiable identity that travels with the transaction.
Four protocols are converging on this. Visa's Trusted Agent Protocol verifies agent identity per transaction at the point of sale. Mastercard's Agent Pay Ready designation binds identity to the credential itself. Stripe's ACP and Google's UCP each handle identity as part of their checkout flows.
The FIDO Alliance launched a working group in April 2026 to develop authentication standards for agents, building on the same cryptographic foundations as passkeys.
These aren't compatible with each other. Adyen built a universal translator to accept all four simultaneously because no merchant can predict which protocol a given agent will use.
If you can't verify which agent submitted a payment request, the rest of the stack falls apart.
Layer 2: Authentication
Identity establishes what the agent is, but authentication goes further by proving which consumer it represents. When an agent acts on someone's behalf, the payment system needs proof that this specific consumer authorized this specific agent.
3D Secure requires a human to enter a code or approve a push notification. An autonomous agent can't solve that challenge, which breaks the entire SCA flow in regions where it's mandatory, including the EU under PSD2.
Workarounds are shipping. Delegated authentication passes the challenge to the consumer's device before the agent transacts, storing approval for a session or a set of rules. Issuer-domain authentication lets the issuer verify the agent directly through its own protocols, and exemption-based flows use transaction risk analysis to skip the challenge entirely for low-risk agent payments.
None of these are standardized. A merchant accepting agent payments in Europe has to implement all three and figure out which one the issuer supports.
Layer 3: Delegation
The first two layers establish who the agent is and that the consumer approved it. Delegation goes further by defining what the consumer actually authorized the agent to do, and most protocols skip it.
A consumer says "book a flight to Denver under $500, economy class." The agent books a $1,200 business class flight departing at a different time. Both the identity and authentication layers pass, because the agent is who it says it is and the consumer did approve it to transact. But the agent exceeded its mandate.
The gap sits at the protocol level. Every agent payment protocol handles the forward flow, moving money from buyer to seller. None of them bind a receipt back to what was authorized. The receipt proves the payment happened, but nothing in the transaction record captures what the consumer's original instruction was.
AP2's cryptographic mandates are the closest solution. The consumer signs a mandate specifying maximum amount, currency, merchant category, and expiration. The mandate travels with the transaction and becomes evidence if the agent exceeds it. But this only works within Mastercard's network, and adoption is early.
Without a delegation layer, every dispute between a consumer and an agent platform becomes a credibility contest with no protocol-level evidence on either side.
Layer 4: Spending controls
An agent with a $5 per-transaction spending limit can make twenty $5 payments and spend $100. That split attack is the most basic failure mode in agent spending, and most demo policy engines ship with it.
Spending controls for agents need to be enforced outside the agent's own code. An agent with a bug or under adversarial prompt injection can route around software-level checks that run inside its own process. The controls have to live at the policy engine level, checking cumulative spend across rolling time windows, merchant category restrictions, and velocity limits.
Mastercard's Agentic Tokens encode these constraints into the credential. A transaction that exceeds the budget is rejected during network authorization before it reaches the issuer. Visa leaves enforcement to issuers and merchants, trusting the edges to check the rules themselves.
The difference matters. Encoded constraints fail closed because the network rejects the transaction if it violates the rules, while edge-enforced constraints depend on every participant implementing the checks correctly, and any participant that skips them becomes a gap.
Layer 5: Checkout and settlement
The agent has an identity, the consumer authenticated, the delegation is recorded, and spending controls are in place. The money needs a path.
For card-based transactions, checkout looks similar to traditional e-commerce. Stripe's ACP handles checkout through existing card infrastructure with agent-specific metadata. Google's UCP covers discovery and post-purchase flows. These work for transactions in the $10 to $10,000 range where card economics make sense.
Below a dollar, card networks break down. Interchange plus assessment plus processor markup makes a $0.05 transaction economically impossible on card rails. That is why Cloudflare built stablecoin wallets for agents using HTTP 402.
The x402 protocol reported 75.4 million transactions in a 30-day window, averaging about 32 cents each. Agent micropayments are settling on stablecoin rails because card networks were never designed for sub-dollar economics.
Two settlement stacks are emerging in parallel. Cards for larger agent purchases and stablecoins for micropayments. Most agent commerce infrastructure will need to support both.
Layer 6: Audit trail
When something goes wrong with an agent payment, the first question is what the consumer authorized versus what the agent did. The audit trail has to reconstruct the path from instruction to purchase.
Receipts prove payment, but nothing proves authorization. A traditional payment receipt shows amount, merchant, timestamp, and card last four. It doesn't show what the consumer told the agent, what options the agent evaluated, why it chose this merchant, or whether its selection matched the consumer's constraints.
AP2's mandate model creates a chained audit trail. An Intent Mandate captures the consumer's instruction, and a Cart Mandate records the agent's selection. A settlement record then completes the chain. Each step is cryptographically signed, creating non-repudiable evidence. If the Cart Mandate doesn't match the Intent Mandate, the audit trail shows exactly where the agent deviated.
Outside of AP2, the audit trail depends on whatever the agent platform chooses to log. Some platforms log the full conversation, some log only the final transaction, and many log nothing that would survive a dispute investigation.
The six banks that published the Building Trust in Agentic Commerce principles paper called for auditable records of consumer instructions, authentication, intent, and transaction outcomes. But the paper is voluntary and non-binding.
Layer 7: Disputes
When an agent buys the wrong hotel and the consumer files a dispute, the dispute enters a system that was never designed for this failure mode.
No card network has published an agent-specific reason code. The consumer files under "goods not as described," the same code for a damaged package, because the evidence framework assumes a human buyer who can explain what went wrong.
Agent disputes have different failure modes. The agent might have exceeded its delegation, or the delegation might have been poorly defined. The agent might have optimized for the wrong variable, choosing departure time over price when the consumer meant price.
In every case, the merchant filled the order correctly, but the consumer disputes because the agent made the wrong choice and the merchant ends up absorbing the chargeback.
No dispute framework assigns the agent platform as a party. Liability follows the transaction, flowing to the merchant or the issuer, even when the failure originated in the agent's decision-making. Amex announced Agent Purchase Protection in April 2026, and Chargebacks911 launched agent indemnification in October. These are vendor-specific patches that don't answer the systemic question.
The dispute layer is where every gap in the layers below it becomes visible. Without a delegation record there is no evidence, and without an audit trail there is no way to reconstruct what the agent did. If spending controls also failed, the dispute involves an amount the consumer never approved in the first place.
What the stack looks like in November 2026
Identity and checkout have production implementations, with four competing identity protocols live and settlement working through both card rails and stablecoins depending on transaction size. Authentication and spending controls are partially built. Authentication has workaround patterns for the 3D Secure problem, none standardized, and spending controls work within Mastercard's token architecture but depend on edge enforcement everywhere else.
Delegation, audit trails, and disputes are largely unbuilt at the industry level. AP2's mandate model addresses delegation and audit within Mastercard's network, but outside of it these layers depend on whatever the agent platform and the merchant choose to implement on their own.
The stack has production implementations at the top and bottom, while the middle remains open territory. Agent commerce will scale when that middle fills in, because delegation, audit trails, and disputes are where the trust infrastructure for agent transactions will be defined.
Sources
- Visa Intelligent Commerce Platform - Visa developer documentation for multi-protocol agent commerce support, launched April 2026
- Mastercard Agent Pay Trust Framework - Mastercard white paper on five pillars of agent commerce trust including Agentic Tokens, September 30, 2026
- Stripe Agent Commerce Protocol Specification - Stripe ACP documentation for agent-initiated checkout, 2026
- Visa Agentic Commerce Benchmark - Visa benchmark testing 22 AI shopping agents across major retail sites, May 2026
- Building Trust in Agentic Commerce - Six-bank principles paper on agent commerce trust, September 22, 2026
- Consumer Bankers Association Agentic AI Payments White Paper - CBA and Davis Wright Tremaine on consumer protection and liability gaps, January 2026
- x402 Protocol Statistics - CryptoBriefing reporting 75.4 million x402 transactions in 30-day window, October 15, 2026
- The Essential Payment Infrastructure for Agentic Checkout - Nuvei on 3D Secure challenges, short-lived tokens, and authorization model for agent payments, 2026
- Chargebacks911 AI Agent Purchase Indemnification - Chargebacks911 merchant indemnification product for agent-initiated purchases, October 2026
- American Express Agent Purchase Protection - Amex ACE developer kit and agent protection announcement, April 14, 2026

Writes Ledger Drift. Engineer building AI systems and financial infrastructure. Open source contributor to x402, ACK, and MPP – agentic payment protocols.
Frequently Asked Questions
Built by Trio, a fintech-native engineering partner helping teams build the next generation of financial technology and infrastructure.
Subscribe to Ledger Drift for high-signal insights into how modern fintech is built, from systems to code to teams.