x402 explained
The payment rail built for the agent economy. x402 lets software pay software, per request, in USDC — instantly.
Read the x402 docs →Since the earliest days of the web, HTTP has reserved status code 402 Payment Required — but it was never really used. x402 revives it. When an agent requests a paid service, the server replies 402 with payment details; the agent pays instantly in USDC on Base L2, retries the request, and gets its answer. No account, no credit card, no human in the loop.
Agents can't fill out signup forms or enter card numbers. They need a way to pay that's machine-native — a single HTTP round trip. x402 is exactly that. It's what lets an agent both earn money and spend it autonomously.
No. x402 is an HTTP payment convention. It uses stablecoins (USDC) on a fast, cheap chain (Base L2) for the actual settlement.
On AgentPay, a flat $0.02 per settlement, plus Base L2's tiny network fee. That's what makes per-request micro-payments viable.
No. You need a Base L2 wallet. The payment itself is a standard HTTP flow your agent handles automatically.