Module 3, Lesson 2

Internet-of-value design

Guiding question

What would it take for money to move across the internet the way data does, in small packets, between any two parties, over any network, and which design choices decide whether such a system works?

Short answer. It takes a layered design, like the internet's own. At the bottom are ledgers that actually settle value. Above them, a routing layer moves value between ledgers that were never built to talk to each other. Above that, an application layer lets a website or an agent say "this costs 1 cent" and get paid inside an ordinary request. Existing specifications already cover each layer: blockchains and bank ledgers for settlement, the Interledger Protocol for routing "packets of money across different payment networks or ledgers," and x402 for asking for payment over the web. 1 2 3 The hard design questions are not about the packets. They are about cost per payment, how often to settle, who bears the risk between settlements, and how identity and compliance travel with the money. lesson

Section 1: what the internet did for data

The internet works because of layering. Each layer does one job and hides its details from the layers above. An email does not care whether it travels over fiber or Wi-Fi. The design goals the internet's builders chose, open standards, no single owner, and tolerance of many different networks underneath, are why it could grow. lesson

The Interledger Protocol, version 4, states similar goals for money. Its specification lists: 1

  • Neutrality: "not tied to any company, currency, or network."
  • Interoperability: "usable across any type of ledger, even those that were not built for interoperability."
  • Security: senders, connectors and receivers "protected from one another."
  • Simplicity: a core kept as small as possible.

It also describes itself as "optimized for routing large volumes of low-value packets, also known as 'penny switching'." 1 That is the internet-of-value idea in a sentence.

Interledger's four design goals
Neutrality
Not tied to any company, currency or network
Interoperability
Usable across any type of ledger, even ones not built to interoperate
Security
Senders, connectors and receivers protected from one another
Simplicity
A core kept as small as possible

Goals stated in the ILPv4 specification, which is optimized for penny switching.

Source: Interledger Foundation, Interledger Protocol V4 (ILPv4) specification

Section 2: the four layers

Here is a simple layered model that fits the systems in this module. The layer names are this lesson's, not a formal standard. lesson

Layer Job Examples from sources
4. Application Ask for and prove payment inside a request x402 headers over HTTP 2; Stripe's MPP 4
3. Identity and authority Prove who or what is paying and what it may spend Visa Trusted Agent Protocol 5; Google AP2 mandates 6; XRPL Credentials 7
2. Routing and exchange Move value between different ledgers and currencies Interledger connectors 1; XRPL auto-bridging through XRP (Module 1)
1. Settlement Record final transfer of value Blockchains such as XRPL, Base or Solana; bank and central bank ledgers 8
An internet-of-value stack, top to bottom
  1. ApplicationPrice and pay inside a web request (x402, MPP)
  2. Identity and authorityProve the agent and its spending limits (signatures, mandates, credentials)
  3. Routing and exchangeMove value across ledgers and currencies (Interledger connectors, bridges)
  4. SettlementFinal transfer on a ledger (blockchain, bank or central bank ledger)

The x402 specification makes the layering explicit. It says the core protocol is "transport-agnostic," with HTTP as its original transport, and that payment logic depends on the scheme and the network, while the core data structures do not. 3 That is the internet's trick applied to payments: keep the message format stable and let networks underneath change. lesson

Section 3: the cost-per-payment problem

The first design question is what each payment costs to settle. Lesson 1 showed that capped US debit interchange alone is about 22 cents per payment, more than the average x402 payment of about 14 cents. 9 model A machine-payment system needs a settlement cost far below the payment size.

On the XRP Ledger, the minimum cost for a standard transaction is 10 drops, where a drop is a millionth of an XRP. 10 At the October 16, 2026 snapshot price of about USD 1.297 per XRP, that is about USD 0.000013. model Visa's summary of its research with Artemis credits "a newer generation of blockchains" with pushing "settlement costs down to fractions of a cent," making payments from one cent to one dollar practical "for the first time." 11

But low per-transaction cost is not the whole story. Two other costs matter. lesson

  1. Account setup. On the XRP Ledger, every account must hold a base reserve of 1 XRP, plus 0.2 XRP for each object it owns, such as a payment channel. 12 Small, but real if millions of agents each need an account.
  2. Load. The XRPL documentation notes the transaction cost "sometimes increases due to higher than usual load." 10 Systems built for penny payments need to plan for congestion.

Section 4: settle every payment, or settle in batches?

The second design question is how often to settle on the ledger. There are three patterns. lesson

Three ways to settle machine payments
A. Every payment on chain
One ledger transaction per call; simple and final
B. Payment channels
Signed claims verified off ledger, redeemed later in one transaction
C. Bilateral accounts
Peers track obligations and settle the balance periodically, pre-funded or post-funded

Fewer ledger transactions means lower fees, and more risk between settlements.

Source: XRPL.org, Payment Channels

Pattern A: settle every payment on chain. Simple and final. Every API call is one ledger transaction. Cost per payment equals the ledger fee, and throughput is limited by the ledger.

Pattern B: payment channels. The XRPL documentation describes payment channels as a way to send "asynchronous" XRP payments "that can be divided into very small increments and settled later." The sender sets aside XRP, then sends signed "claims" which the recipient "verifies without sending an XRP Ledger transaction." The recipient redeems a claim later, in one ledger transaction. 13 Thousands of tiny payments become one settlement.

Pattern C: bilateral accounts with periodic settlement. Interledger peers "maintain an account with one another to track the current obligations they hold," and settle the balance through a ledger or payment channel. Accounts can be "pre-funded" or "post-funded," which decides who trusts whom between settlements. 1 The x402 specification's batch-settlement scheme points the same way. 3

Estimate
Ledger fees to settle 10,000 one-cent API calls on the XRP Ledger
Pattern A, every payment on chainUSD 0.13
Pattern B, one channel open plus one redemptionUSD 0

Model: 10 drops per transaction, XRP at USD 1.297 (2026-10-16 snapshot); excludes the 0.2 XRP reserve held while the channel is open

Source: XRPL.org, Payment Channels

Worked comparison. model An agent makes 10,000 API calls a day at 1 cent each, USD 100 a day in total.

Pattern Ledger transactions Ledger fees at 10 drops each Fees as share of value
A 10,000 100,000 drops = 0.1 XRP ≈ USD 0.13 about 0.13%
B 2 (open channel, redeem once) 20 drops ≈ USD 0.00003 close to zero

All model, at the snapshot price and minimum fee. Pattern A is already cheap on a low-fee ledger. Pattern B is cheaper still and avoids putting 10,000 entries on a public ledger. The cost of Pattern B is risk between settlements: the recipient holds unredeemed claims, and the sender has locked XRP in the channel. lesson

Section 5: finality and reversibility

The third design question is whether a payment can be undone. Card networks offer chargebacks. Blockchains generally do not. Visa's summary points out that "chargeback windows and evidence rules were designed for human-speed commerce," and that with "chains of agents paying other agents, there's no settled way to unwind a payment that went wrong." 11

Design options sit on a range. lesson

  • Final on settlement, no reversal. Cheapest and fastest. Mistakes are the payer's problem.
  • Final, with escrow or holdbacks. Value is held until a condition is met. The XRP Ledger supports escrows that release value only when conditions are met. 15 Interledger's design goals say connectors "should not be able to steal money from senders." 1
  • Reversible within a window. Close to card behavior. Needs a trusted party to decide disputes, which brings back cost.

For a 1-cent API call, finality is usually fine; the cost of a dispute process exceeds the payment. For a USD 500 agent purchase, buyers will want protection. This is one reason Visa expects "cards for macro authorization" alongside stablecoins for micro settlement. 11 lesson

The range of finality designs
Final, no reversal
Cheapest and fastest; mistakes are the payer's problem
Final, with escrow or holdbacks
Value held until a condition is met
Reversible within a window
Close to card behavior; needs a trusted party to decide disputes

Match the design to the payment: final for a 1-cent call, protection for a USD 500 purchase.

Source: XRPL.org, Escrow

Section 6: identity and authority travel with the money

The fourth design question is how a receiver knows who is paying and whether they are allowed to. On the internet, data packets do not carry identity; that was added later through other layers. Payments cannot wait. Anti-money-laundering rules require identifying parties to payments above certain thresholds, and Module 1 covered the FATF Travel Rule. lesson

The current protocols handle identity in different ways.

  • Visa Trusted Agent Protocol uses cryptographic message signatures (RFC 9421) so merchants can tell "Visa-approved AI agents" from "nefarious bots" (vendor documentation). 5
  • Google AP2 uses "Mandates," tamper-proof, cryptographically signed records of what a user instructed, signed with verifiable credentials (vendor claim). 6
  • XRPL Credentials are signed statements stored on the ledger that "can attest to a user's identity, legal status, or other status," with roles for issuers, users and "authorizers who want to limit specific actions" to credential holders. The design "draws from the W3C Verifiable Credentials standard." 7

The privacy side of this layer is the subject of Lesson 3. The design point here is that identity and spending authority must be checkable at machine speed, by software, without a human looking at a document. lesson

Section 7: neutral versus owned

The last design question is who owns the rails. The internet succeeded partly because no single company owned TCP/IP. Interledger lists neutrality as its first goal. 1 x402 is now under the Linux Foundation, according to Visa's summary. 11 MPP is "co-authored by Stripe and Tempo." 4

The BIS argues for a different kind of neutrality: settlement in central bank money on a "unified ledger," with central banks keeping control over access to their money and data held under each jurisdiction's rules. 8 IOSCO warns that the opposite, many competing ledgers that do not interoperate, fragments liquidity and adds bridge risk. 14 So "neutral" can mean an open protocol, a public ledger, or a public settlement asset. These are different things, and a design should say which it means. Lesson 5 compares a neutral bridge asset with stablecoins. lesson

Section 8: putting the choices together

The design questions interact, so it helps to see two complete designs side by side. Both are stylized. lesson

Design 1: a public data API paid per call. Application layer: x402 over HTTP. 2 Settlement: a low-fee public ledger, one transaction per call or a batch scheme. 3 Finality: final, because a 1-cent call is not worth disputing. Identity: a signed agent identity, no personal data. Risk between settlements: none if each call settles, small if batched.

Design 2: an agent buying services for a business. Application layer: a card-network agent protocol at the top of the task, with signed mandates recording what the owner approved. 5 6 Settlement: cards for the main purchase, stablecoin micro-payments for usage charges. Finality: reversible for the main purchase, final for the small pieces. Identity: a business credential from a regulated issuer. 7

The two designs share layers but make opposite choices on reversibility and identity, because the payment sizes and the people at risk differ. That is the main lesson of this page: there is no single best internet-of-value design, only designs that match the payment. lesson

Deliverable: a design brief for one machine-payment flow

Pick one flow, for example an agent paying a data provider per query, and fill in this brief.

Design question Your choice Reason
Payment size and frequency
Application layer (x402, MPP, other) 2 4
Settlement ledger and its per-transaction cost 10
Settle each payment, use a channel, or batch? 13
Who bears risk between settlements? 1
Reversible or final? Any escrow?
How is the payer identified and authorized? 5 6 7
Currency path: same asset, stablecoin, or bridge
Total cost per payment, fees ÷ value model
Who owns or governs each layer?

A good brief keeps total cost per payment under 1% of value, names who carries risk at every step, and states which layer is neutral and which is owned. lesson

Why it matters

"Internet of value" is a slogan until you lay out the layers. Doing so shows that the plumbing for tiny payments now exists in several forms, and that the open questions are economic and legal: settlement frequency, risk between settlements, reversibility, identity and ownership of the rails. Those choices decide whether machine payments stay a niche measured in millions of dollars or grow into something larger, and they decide who earns from it. lesson

Sources

  1. Interledger Foundation, Interledger Protocol V4 (ILPv4) specification
  2. x402 documentation, HTTP 402
  3. x402 Protocol Specification v2 (GitHub)
  4. Stripe Docs, MPP (Machine Payments Protocol) (vendor documentation)
  5. Visa Developer, Trusted Agent Protocol (vendor documentation)
  6. Google Cloud, Announcing Agent Payments Protocol (AP2) (September 16, 2025) (vendor claims)
  7. XRPL.org, Credentials
  8. BIS, Annual Economic Report 2025, Chapter III: The next-generation monetary and financial system (June 29, 2025)
  9. Federal Reserve, Regulation II (Debit Card Interchange Fees and Routing): Small Entity Compliance Guide
  10. XRPL.org, Transaction Cost
  11. Visa, Agentic Payments from the Ground Up: What the Onchain Data Tells Us (updated July 14, 2026) (vendor research)
  12. XRPL.org, Reserves
  13. XRPL.org, Payment Channels
  14. IOSCO, Tokenization of Financial Assets, Final Report FR/17/2025 (November 2025)
  15. XRPL.org, Escrow