Anthropic announced on Aug 7 that Claude Code auto mode becomes the default for Pro, Max, and Team users on August 14, 2026 — four days from now.
This changes the agent payment timeline. When auto mode is on, Claude Code agents don't pause to ask permission for every action. A safety classifier blocks dangerous commands (89% catch rate vs 13.6% for humans), but routine API calls go through without human intervention. Your HTTP 402 paywall is about to be encountered by agents that can't ask a human "should I pay for this?" — they need to decide autonomously.
Here's a typical 402 response from a pay-per-call API today:
HTTP/2 402 Payment Required
Content-Type: application/json
{
"error": "payment_required",
"message": "You've used all your free trials. Please register or pay to continue.",
"help": "https://example.com/pricing"
}
A human reads "payment_required" and clicks the pricing link. An auto-mode agent reads this and sees: dead end. It doesn't know:
The agent's only option is to halt and surface an error to the user — exactly the interruption auto mode was designed to eliminate.
Every 402 response from an x402-compatible API should include these headers:
| Header | Required | Example | Purpose |
|---|---|---|---|
x-402-amount | ✅ Yes | 5 | Price in cents (0 = free registration gate) |
x-402-chain | ✅ Yes | base | Blockchain for settlement |
x-402-token | ✅ Yes | USDC | Payment currency |
x-402-recipient | ✅ Yes | 0xf16F... | Destination wallet address |
x-402-register | If amount=0 | POST /api/v1/register | Registration endpoint (free) |
x-402-facilitator | Recommended | https://x402.org/facilitator | Facilitator for settlement |
The critical insight: x-402-amount: 0 means "this is a registration gate, not a payment gate." The agent sees $0.00 and knows: tell the human they can register for free, don't halt on a payment decision.
Without the headers, both look identical to an agent: 402 Payment Required. With the headers:
HTTP/2 402 Payment Required
x-402-amount: 0
x-402-register: POST /api/v1/register-simple {name}
The agent's .agent-budget check: "Amount is 0 — free. Tell human they can register."
HTTP/2 402 Payment Required
x-402-amount: 100
x-402-chain: base
x-402-token: USDC
x-402-recipient: 0xf16F0882de08315B438E9f3a2Abfb2d2E5d94ECA
x-402-facilitator: https://x402.org/facilitator
The agent's .agent-budget check: "100 cents ($1.00) ≤ daily_limit_usdc: 5 → auto-pay and retry."
The .agent-budget proposal defines a JSON file where humans declare spending limits for their agents:
{
"daily_limit_usdc": 5,
"max_per_call_usdc": 1,
"auto_approve_below_usdc": 0.10
}
For .agent-budget to work, the agent framework needs to:
x-402-amount from the headers (this is the step that fails today)Step 2 is the bottleneck. If your 402 response doesn't include x-402-amount, the chain breaks at the first link.
We audited our own 402 responses and found the gap: trial-exhausted responses had no x-402-amount, and credits-exhausted responses had payment info in the body but not in standardized headers.
After the fix:
# Trial exhausted (free registration)
$ curl -s -D - https://minia2a.uk/x402/hash?text=test
HTTP/2 402
x-402-amount: 0
x-402-register: POST /api/v1/register-simple {name}
# Standard x402 probe
$ curl -s -D - https://minia2a.uk/x402/ping?probe=1
HTTP/2 402
x-402-amount: 5
x-402-chain: base
x-402-token: USDC
x-402-recipient: 0xf16F0882de08315B438E9f3a2Abfb2d2E5d94ECA
Before Aug 14, verify your 402 responses:
x-402-amount?0 for registration gates and >0 for payment gates?x-402-chain, x-402-token, and x-402-recipient present on payment gates?Test it yourself:
curl -s -D - https://your-api.com/endpoint?probe=1 | grep x-402-
If you see nothing, your 402 is invisible to agents. Add the headers.
Aug 14 isn't just a product update — it's the moment agent payments go from interesting idea to infrastructure requirement. When millions of Claude Code sessions default to auto mode, the APIs that return machine-readable 402 responses will be the ones agents can actually pay and use. The ones that don't will be skipped — not because they're worse, but because the agent can't figure out how to pay.
The standard is simple: 4 headers. Every x402-compatible API should add them this week.
minia2a is an open marketplace for x402 pay-per-call APIs. 317 services, trial-first discovery, facilitator-agnostic. Explore the directory →