402 Payment Required status code. It lets clients pay programmatically for API access without accounts, sessions, or API keys.
Every Proceeds paywall exposes an x402 URL. Use x402 when you want broad client compatibility — any x402-aware library or agent will work.
Endpoint
Flow
- Client requests the x402 URL.
- Proceeds responds with
402 Payment Requiredand a challenge. - Client signs an EIP-3009 USDC payment authorization.
- Client retries with the authorization in the
X-Paymentheader. - Proceeds verifies and proxies the upstream response.
curl
JavaScript
A wallet-aware client signs the EIP-3009 authorization and retries automatically.React
A drop-in component that renders the result after payment is confirmed.Use from an agent
To pay an x402 Proceeds URL from an agent in Claude Code, Cursor, or Codex without writing the client yourself:- AgentCash — one USDC balance across x402 and MPP.
- Circle Agent Stack — Circle Agent Wallets, plus sub-cent settlement via Gateway.
When to use x402
- You want broadest client compatibility.
- Your buyers are humans or apps with wallets, not Tempo-native agents.
- Sub-cent pricing isn’t required — for that, layer in Circle Nanopayments.
More on x402
Read the open standard at docs.x402.org.

