@hashed_officialยท12 charts
Who is x402 for?
- Sellers: Service providers who want to monetize their APIs or content. x402 enables direct, programmatic payments from clients with minimal setup.
- Buyers: Human developers and AI agents seeking to access paid services without accounts or manual payment flows.
How x402 Works
- Client (AI agent or app) requests access to an x402-enabled HTTP server with a resource that it needs (e.g. GET /api).
- Server replies with a 402 Payment Required status, including payment details (e.g., price, acceptable tokens).
- Client sends a signed payment payload using a supported token (like USDC) through a standard HTTP header.
- Client retries the request, now including the X-PAYMENT header with the encoded payment payload.
- Payment facilitator (like the Coinbase x402 Facilitator service) verifies and settles the payment onchain, and fulfills the request.
- Server returns the requested data to the client, including an X-PAYMENT-RESPONSE header confirming success of the transaction.
Solana
Resources
Facilitators Resources
x402
x402 is a new open payment protocol developed by Coinbase that enables instant, automatic stablecoin payments directly over HTTP.
By reviving the HTTP 402 Payment Required status code, x402 lets services monetize APIs and digital content onchain, allowing clients, both human and machine, to programmatically pay for access without accounts, sessions, or complex authentication.

