Guiding question
What can go wrong when software agents hold budgets and pay each other at machine speed, which of those risks matter most, and what controls reduce them?
Short answer. The biggest risks are not exotic. They are old payment problems moved to a new speed and a new kind of buyer. Five stand out. First, the activity data can mislead: Visa's own adjusted x402 figures exclude "identified wash and test activity," and raw totals are higher. 1 Second, an agent can be manipulated; Visa's summary names the case where "a malicious prompt redirects its spending." 1 Third, liability is unclear, since existing frameworks "weren't written with this kind of delegation in mind." 1 Fourth, most crypto settlement is final, so there is no built-in way to unwind a bad payment at machine speed. 1 lesson Fifth, financial crime controls are harder when payments are small, frequent and automated. 2 3 The practical controls are budgets and limits, verified identity for agents and counterparties, short-lived credentials, payment channels with caps, monitoring, and clear contracts about who pays when something goes wrong. lesson
Section 1: how to read a risk register
A risk register lists each risk with three things: how likely it is, how bad it would be, and what reduces it. This lesson rates likelihood and severity on a simple 1 to 5 scale. The ratings are judgments for teaching, labeled lesson, not measurements. lesson
- Likelihood 1 means rare, 5 means expected.
- Severity 1 means a nuisance, 5 means it could end the business or harm many users.
- Priority is likelihood times severity, from 1 to 25.
Section 2: data risk, or believing the wrong numbers
Every lesson in this module has leaned on one data set: the Visa and Artemis count of x402 and MPP activity. Visa's summary is careful. Its figures are "adjusted totals that exclude identified wash and test activity," based on Artemis data as of April 21, 2026, and "cumulative raw onchain totals are higher." 1 This course cites only the adjusted figures: about 109.6 million x402 transactions and about USD 15.0 million. 1
Why this is a risk. Onchain counts are easy to inflate. A single actor can send many tiny payments to itself for almost nothing. Analysts must decide which activity is "real," and those choices change the totals a lot. An investor or builder who reads a raw number as demand could overestimate a market several times over. lesson
A second data trap. The same page says "the average payment is a fraction of a cent" while its adjusted totals imply about USD 0.137 per x402 transaction (15.0 million divided by 109.6 million). 1 model The likely explanation is that a typical (median) payment is tiny while a few larger payments raise the average, but the page does not say. Lessons 1 and 4 flagged this. The control is simple: always compute the implied figures yourself, and say which kind of "average" a claim means. lesson
USD 15.0 million / 109.6 million transactions
0.137
Implied average x402 payment, from Visa's adjusted totals
Visa's page also says the average payment is a fraction of a cent. Always compute implied figures yourself.
Model: adjusted totals as of 2026-04-21 divided by transaction count
Source: Visa, Agentic Payments from the Ground Up: What the Onchain Data Tells Us
Rating: likelihood 4, severity 3, priority 12. lesson
Section 3: agent manipulation
An AI agent acts on instructions and on what it reads. If an attacker can put text in front of it, on a web page, in a document, or in a tool's response, they may be able to change what it does. This is usually called prompt injection. Visa's summary names the payment version directly: an agent may buy "the wrong thing, or a malicious prompt redirects its spending." 1
What it looks like in payments. lesson
- A fake data provider returns a 402 payment request with a higher price, and the agent pays.
- A page tells the agent to "send the deposit to this new address."
- A compromised tool asks for repeated small payments that individually pass limits.
Controls. lesson
- Hard budgets outside the model. Spending caps enforced by the wallet or payment service, not by the agent's own reasoning.
- Allow lists. Pay only known, verified merchants for anything above a small amount.
- Price checks. Compare a payment request against an expected price range; refuse outliers.
- Verified merchants and agents. Card-side protocols aim at this: Visa describes its Trusted Agent Protocol as a cryptographic standard to help merchants "differentiate legitimate agents from nefarious bots or web crawlers", and Google's AP2 uses signed "mandates" to record what the user authorized. 4 5 These are vendor designs, labeled as such.
Rating: likelihood 4, severity 4, priority 16. lesson
Section 4: liability and disputes
Who pays when an agent's purchase goes wrong? Visa's summary lists the candidates: "the person who handed over the task, the platform that ran the agent, the company that built the model, or the merchant." It adds that existing frameworks "weren't written with this kind of delegation in mind, and clear precedents may not be available yet." 1
Disputes are harder still. The summary notes chargeback windows and evidence rules "were designed for human-speed commerce," and that with agents transacting "thousands of times an hour" there is "no settled way to unwind a payment that went wrong." 1
Controls. lesson
- Write it down. Contracts between a user, an agent platform and merchants should say who bears which losses.
- Keep records. Signed authorizations, such as AP2 mandates, create evidence of what was approved. 5
- Use rails with disputes where disputes matter. Cards keep their chargeback process; crypto settlement mostly does not have one.
Rating: likelihood 3, severity 4, priority 12. lesson
Section 5: finality and operational errors
On most ledgers, a confirmed payment cannot be reversed by the network. That is a feature for merchants and a risk for payers. An agent bug that loops, sends to the wrong address, or misreads decimals can lose money quickly. lesson
Payment channels help. On the XRP Ledger, a payment channel sets aside a fixed amount of XRP, and the payer signs claims against it; the receiver can redeem only up to the amount signed. 6 The channel balance becomes a natural cap on losses to that counterparty. lesson
Smallest units. The x402 specification states amounts in the asset's "atomic" smallest units. 7 Getting the decimal places wrong is a classic error. A token with six decimals and one with eighteen differ by a factor of a trillion. lesson
Controls. Per-counterparty caps, channels, test transactions, small first payments, and automatic stops when spending speed jumps. lesson
Rating: likelihood 3, severity 3, priority 9. lesson
Section 6: financial crime
The BIS argues stablecoins perform poorly on "integrity," because bearer tokens can move between wallets that never passed customer checks. 3 Machine payments make this harder: many small automated payments can hide a pattern that a human reviewer would catch in a few large ones. lesson
The legal answer in the US is the GENIUS Act. It requires permitted issuers to have "technical capabilities, policies, and procedures to block, freeze, and reject specific or impermissible transactions" that break the law, and to comply with lawful orders to "seize, freeze, burn, or prevent the transfer" of their stablecoins. 2 Internationally, the FATF updated its payment transparency standard, Recommendation 16, in June 2025. 8
What this means for agents. Using a regulated stablecoin brings an issuer that can freeze funds tied to crime. That protects victims and also means an innocent agent's funds can be frozen by mistake. Native assets such as XRP have no issuer to freeze them, which cuts both ways. lesson
Controls. Know your counterparty for anything above trivial sizes. Credentials can help: the XRP Ledger's Credentials feature lets an issuer record that an account has passed a check, so payments can be limited to credentialed accounts. 9 Monitoring should look at patterns across many payments, not single payments. lesson
Rating: likelihood 3, severity 5, priority 15. lesson
Section 7: concentration
Visa's summary reports most x402 activity ran on Base, Solana and Polygon. 1 A young market that depends on a few chains, a few stablecoins and a few "facilitator" services that verify and settle payments for merchants has single points of failure. 7 lesson An outage, a bug or a policy change at one of them could stop a large share of activity. lesson
Controls. Support more than one network and asset where cost allows; the x402 format already lets a server list several payment options. 7 Plan for a facilitator failing, for example by settling directly. lesson
Rating: likelihood 3, severity 3, priority 9. lesson
Section 8: privacy and surveillance
Public ledgers show every payment. A company whose agents pay many providers can reveal its suppliers, volumes and strategy to anyone who reads the chain. lesson Lesson 3 covered tools that reduce this: selective disclosure of credentials and zero-knowledge proofs. 10 11 At the other extreme, identity systems that require agents to reveal too much create data that can be leaked or misused. The W3C Verifiable Credentials standard includes privacy considerations and supports showing only what a verifier needs. 10
Controls. Pay through channels so only openings and closings hit the ledger; use separate accounts per purpose; prove facts instead of sharing identity documents. 6 lesson
Rating: likelihood 4, severity 2, priority 8. lesson
Section 9: regulatory change
Rules are still being written. In the US the GENIUS Act became law in 2025, and regulators began proposing rules to implement it; the OCC published a proposed rule in 2026. 2 12 Card pricing is also regulated: Regulation II caps debit interchange for large issuers at 21 cents plus 0.05% plus a 1-cent fraud adjustment. 13 Rule changes in either area could move the economics this module described. lesson
Controls. Keep designs flexible between rails; follow proposed rules; avoid business models that work only under one reading of the law. lesson
Rating: likelihood 3, severity 3, priority 9. lesson
Section 10: the register in one view
Values in priority score, 1 to 25
Model: scores are lesson judgments on a 1 to 5 by 1 to 5 scale, not measurements
Source: Visa, Agentic Payments from the Ground Up: What the Onchain Data Tells Us
The controls named in the sections above can be layered for each payment, in this order.
- Step 1Check the merchant against an allow list or verified identity
- Step 2Check the price against the expected range
- Step 3Check the budget held outside the model
- Step 4Pay from a capped channel or account
- Step 5Log the signed authorization and monitor spending speed
Source: XRPL.org, Payment Channels
Section 11: a worked example of loss limits
A team gives an agent a USD 200 daily budget to buy data. model Compare two setups.
Setup A: one wallet with USD 5,000. If the agent is manipulated at the start of the day and the budget check lives only in the agent's own reasoning, the attacker can drain up to USD 5,000. model
Setup B: a wallet service with a hard USD 200 daily cap, plus per-merchant channels capped at USD 50. The worst case for one manipulated merchant is USD 50, and USD 200 across all merchants for the day. model
Controls outside the agent turn an unbounded loss into a bounded one.
Model: assumed budgets and caps from the lesson
Source: XRPL.org, Payment Channels
The point is not the numbers, which are assumptions, but the shape: controls outside the agent turn an unbounded loss into a bounded one. lesson
Section 12: risks that are often overstated
A balanced register also notes what is less worrying than headlines suggest. lesson
Fees. Per-payment costs on modern ledgers are small fractions of a cent, so fee spikes are a nuisance more than a threat for most micro-payment designs. 1
Throughput. Current adjusted volume, about 109.6 million x402 payments over roughly a year, is small next to card networks. 1 Capacity is not the binding limit today; trust is. lesson
"Agents will spend without limit." Only if they are built that way. The controls in Sections 3 and 11 are ordinary engineering. The danger is skipping them, not that they cannot exist. lesson
Naming these helps a team spend its attention where the priority scores are highest: manipulation, crime and liability. lesson
Deliverable: your own risk register
For a machine-payment product you know, or one from Lesson 4, fill in:
| Risk | Likelihood (1 to 5) | Severity (1 to 5) | Priority | Main control | Owner |
|---|---|---|---|---|---|
| Data risk | |||||
| Agent manipulation | |||||
| Liability and disputes | |||||
| Finality and errors | |||||
| Financial crime | |||||
| Concentration | |||||
| Privacy | |||||
| Regulatory change |
Then answer: which single control would cut the most priority points? lesson
Why it matters
New payment systems are usually judged by speed and cost. Machine payments are already fast and cheap. What will decide whether people trust them is how they fail: whether a manipulated agent loses USD 50 or USD 5,000, whether someone is clearly responsible, and whether criminals find them easy. Knowing the risk register lets you read announcements and market data with the right questions, and design products that fail small. lesson
Sources
- Visa, Agentic Payments from the Ground Up: What the Onchain Data Tells Us (updated July 14, 2026) (vendor research; adjusted figures as of April 21, 2026)
- GENIUS Act, S. 1582 enrolled bill text (govinfo.gov)
- BIS, Annual Economic Report 2025, Chapter III: The next-generation monetary and financial system (June 29, 2025)
- Visa Developer, Trusted Agent Protocol (vendor documentation)
- Google Cloud, Announcing Agent Payments Protocol (AP2) (September 16, 2025) (vendor claims)
- XRPL.org, Payment Channels
- x402 Protocol Specification v2 (GitHub)
- FATF, FATF updates Standards on Recommendation 16 on Payment Transparency (June 18, 2025)
- XRPL.org, Credentials
- W3C, Verifiable Credentials Data Model v2.0, W3C Recommendation (May 15, 2025)
- IETF, RFC 9901: Selective Disclosure for JSON Web Tokens (November 2025)
- OCC Bulletin 2026-3, GENIUS Act implementation proposed rule
- Federal Reserve, Regulation II (Debit Card Interchange Fees and Routing): Small Entity Compliance Guide