
How AI Agents Pay for API Calls — And How to Verify They Did
The x402 protocol just made machine-to-machine payments real. Here's what the verification layer looks like. PayWatcher · March 2026 · 4 min read HTTP has had a status code sitting unused for 30 years. 402: Payment Required. It was reserved for a future where machines could pay for things directly. That future is here. Stripe and Coinbase are both building around x402 — a protocol that revives 402 to enable AI agents to pay for API calls in USDC, automatically, without a human in the loop. An AI agent requests a resource. The server responds with 402. The agent pays in USDC. Access is granted. No checkout page. No credit card. No human approval. This is what machine-to-machine payments look like. The Problem Nobody Is Talking About Everyone is focused on the rails. Stripe built the payment layer. Coinbase built the protocol. A16z, Galaxy, Outlier Ventures are all writing theses about agentic payments. But there's a step everyone is glossing over. How does the server know the payment ac
Continue reading on Dev.to JavaScript
Opens in a new tab



