Coinbase introduced x402 in May 2025 to let software pay for an API call, data or another digital resource through the same HTTP exchange it uses to request access. By the time of the December 5, 2026 report at 00:22:22 UTC+8, the x402 Foundation, which operates under the Linux Foundation, had adopted the open-source protocol. Participants include AWS, Circle, Cloudflare and the Solana Foundation.
From payment request to settlement
- An application or AI agent requests a resource from a server.
- The server replies with HTTP
402 Payment Required. ItsPAYMENT-REQUIREDheader specifies the payment model, amount, accepted asset, blockchain network and recipient. USDC is a commonly used asset, not a protocol requirement. - The client checks the terms against its budget and permissions. If they match, a protected wallet signer produces a signed payment authorization.
- The client repeats the request, this time carrying the authorization in the
PAYMENT-SIGNATUREheader. - The server verifies the signed payload, optionally with help from a facilitator. The signature authorizes payment; the server grants access once settlement is confirmed.
For example, an AI agent investigating a bug could pay for a single use of a remote testing service without a human setting up an account, subscription or prepaid balance. The common format lets developers handle payment requests from multiple providers without building a separate billing integration for each one. Providers can charge per request, including through micropayments, without the standard prescribing a particular payment method.