The core mechanism is a five-step lifecycle governed by the x402 open protocol . Here's what happens when an AI agent requests a monetized resource behind CloudFront:
The agent sends a normal request. It looks like any other HTTP GET, but AWS WAF Bot Control inspects the user agent and behavioral signals to classify it as AI bot traffic.
AWS WAF returns an HTTP 402 Payment Required response. The response body is not an error page. It's a machine-readable pricing manifest containing the cost per request, the accepted payment networks, and the publisher's USDC wallet address .
The agent submits a signed USDC payment. The bot constructs an on-chain transaction to the publisher's wallet on either the Base or Solana blockchain. This step relies on Coinbase's developer wallet infrastructure, which handles the cryptographic signing without the agent ever holding private keys directly .
AWS WAF verifies the payment. The firewall checks that the payment is valid and corresponds to the requested resource. If it passes, the firewall lifts the block.
The protected content is delivered. The agent receives the article, data feed, or API response it originally requested .
The critical design choice is that all of this resolves in a single request cycle at the edge. The pricing, payment, and verification happen before the request ever reaches the origin server .
Publishers set a base price as a decimal USD string with up to three decimal places. The minimum is $0.001 USDC . From there, granularity kicks in:
On the publisher's side, AWS provides a revenue dashboard inside WAF that breaks down total revenue, verified versus unverified payment totals, settlement counts, and the total 402 responses served . Payments settle directly to the publisher's configured wallet; AWS takes no cut of the content revenue, though standard WAF and Bot Control charges still apply
.
The initial settlement layer runs entirely on stablecoins through Coinbase. Publishers must provide a USDC wallet address on Base, Solana, or both via the Coinbase Developer Platform . Coinbase's x402 Facilitator handles the on-chain verification that AWS WAF relies on.
Stripe's role is complementary and still unfolding. On the same day AWS launched the WAF feature, Stripe announced it would provide the financial infrastructure for this capability . Stripe's press release describes enabling content owners to receive funds directly in their Stripe accounts—pointing to a future where fiat-based agent payments run alongside the stablecoin rail. But as of June 15, 2026, Stripe's integration is officially described as "coming soon"
.
For now, if a publisher activates AI traffic monetization, the only live payment settlement is on-chain USDC through Coinbase. Stripe fiat rails are planned as an additional option, but not yet available.
The WAF feature is the publisher-facing half of a larger project. Underneath sits Amazon Bedrock AgentCore Payments, a managed service that AWS previewed in May 2026 and built with Coinbase and Stripe .
AgentCore Payments is the agent-facing half. It gives AI agents embedded wallets—either Coinbase crypto wallets or Stripe-linked wallets—with credentials managed through AgentCore Identity, never stored in application code . Developers set per-session spending limits and time-to-live values that the infrastructure layer enforces, so an agent cannot exceed its budget even if it tries
.
This is what makes the WAF monetization feature viable at scale. Agents built on Bedrock can autonomously discover paid APIs, encounter a 402 challenge, settle the payment in USDC, and continue their task without a human in the loop . The x402 protocol and the WAF feature are the two sides of the same transaction: one charges, the other pays.
The x402 protocol used by AWS WAF is the practical implementation of the Machine Payments Protocol (MPP), an open standard co-authored by Stripe and Tempo and launched on March 18, 2026 .
MPP formalizes the HTTP 402 status code into a standardized payment negotiation framework for AI agents. Rather than building a new payment rail, MPP embeds the negotiation directly into HTTP and MCP requests, making it a single-round-trip challenge-response flow: request, 402 challenge, payment, content .
Key characteristics of MPP:
By adopting x402 as the challenge protocol, AWS chose to build on an open, multi-party standard rather than a proprietary marketplace. That distinction matters when comparing the approach to its main rival.
Cloudflare was first to the paid-bot-access market, launching Pay per Crawl as a private beta marketplace on July 1, 2025 . The service allows publishers to set prices for AI crawlers and, crucially, began blocking AI crawlers by default for new sites—with over 1 million domains opting in
.
But the two approaches differ fundamentally in architecture and philosophy:
Cloudflare got there first and built a marketplace model where publishers and crawlers negotiate terms. AWS, arriving a year later, went for a protocol-native approach: a standardized, programmable payment challenge that any x402-compatible agent can process, with on-chain settlement and configurable granularity. Neither model has proven its long-term viability, but they represent two distinct visions of how the web will charge machines.
AWS WAF's AI traffic monetization is the first generally available edge service that lets publishers bill AI bots programmatically. It doesn't require the bot operators to sign up for a marketplace, hold accounts, or negotiate terms in advance. It relies on the same protocol that agents built on Bedrock AgentCore Payments already understand.
The implications extend beyond publishing. API providers can use the same feature to gate access behind microtransactions. Data feeds, licensed archives, and MCP servers can all sit behind the same 402 challenge, and agents with managed wallets and spending limits can pay for them autonomously .
What's not yet clear: whether major AI labs will actually implement x402 payment flow on their crawlers at scale, whether the economics of fractional-cent micropayments will prove viable after blockchain gas fees, and whether publishers will see meaningful revenue relative to standard ad models. The infrastructure is now live. The agent behavior—and the business models—will catch up next.