Amazon Web Services Expands Payment Acceptance Capabilities for AI Agents Through the x402 Protocol

Users of Amazon Web Services (AWS) CloudFront and Web Application Firewall (WAF) can now enable automated payments for access to content and services through autonomous AI agents.
Coinbase announced the integration of the x402 protocol into AWS CloudFront and Web Application Firewall (WAF), which support roughly a quarter of global internet traffic. The new solution allows publishers, API providers, and digital service operators to monetize the growing volume of requests generated by autonomous AI agents without deploying additional infrastructure.
The new payment mechanism works as follows:
- an AI agent submits a request;
- the server returns an HTTP 402 Payment Required response, specifying the access fee and payment parameters;
- the AI agent automatically executes the payment according to the provided terms;
- Coinbase x402 Facilitator verifies the transaction and confirms payment;
- the service grants access to the requested content or API, completing the entire process within a single request cycle.
The x402 protocol supports multiple payment models. In addition to per-request payments, developers can implement batch settlement for micropayments, subscription-based access, and dynamic pricing for resource-intensive services, including AI model training and compute-heavy APIs. USDC on the Base network serves as the primary payment asset, although the protocol is also compatible with other digital assets, blockchain networks, and potentially traditional payment rails.
According to Coinbase, the new infrastructure enables publishers to generate revenue from existing AI agent traffic without creating accounts, issuing invoices, or distributing API keys. Nishit Sawhney, General Manager at AWS Edge Services, said the solution changes how organizations interact with bots. In his view, instead of blocking automated traffic or providing access for free, resource owners can turn AI agents into a fully fledged category of paying customers.
The initiative is built on the open x402 standard, which was originally developed by Coinbase and later transferred to the independent x402 Foundation under the Linux Foundation. To help AI agents discover compatible services, the project introduced the x402 Bazaar, an open directory that lists available services, pricing information, and capabilities.
Earlier, Amazon Web Services launched AgentCore Payments, an x402-based module for Amazon Bedrock that enables AI agents to use the USDC stablecoin for micropayments.



