Agent Payment Primitive

x402

x402 revives HTTP 402 Payment Required with on-chain micropayments — so autonomous AI agents can discover price, pay within a bounded quota, and settle in the same programmatic request flow, without a human clicking approve on every call.

bolt

Native to agents

A 402 response triggers on-chain settlement inline — no checkout redirects, confirmed in milliseconds for machine-to-machine commerce.

verified_user

Verifiable receipts

Every unlock maps to an on-chain transaction receipt: auditable, traceable, and usable as proof inside agent workflows.

layers

Policy-bounded spend

Pair with agent wallets and allowlists so agents pay automatically inside a budget — humans authorize once, not per request.

Experience x402

Compare a traditional unlock with x402 on an article. The same 402 intercept → sign → retry loop is what agents use to pay for APIs, data, and downstream agent services.

SCENARIO 01Regular payment
lock0.01 USDV

Why traditional micropayments fail agents

Checkout redirects, card binding, and clearing delays measured in seconds or days cannot support high-frequency, per-call payments that autonomous agents need.

Interaction flow
1 Clickchevron_right2 Open walletchevron_right3 Sign & confirm
SCENARIO 02x402 protocol
lock0.01 USDV

Add an on-chain paywall in 30 lines

Return HTTP 402 from Express/Next.js middleware; the wallet or agent runtime intercepts, signs within policy, and retries with a receipt.

Automated flow
1 Intercept 402chevron_right2 Silent signingchevron_right3 Auto retry