x402: HTTP 402 finally used

Agentic Commerce 101: How Agents Buy and Sell — lesson 4 of 20 (DEFINITION)

x402 revives the dormant ‘402 Payment Required’ status code: your endpoint answers an unpaid request with the exact price, asset, and pay-to address; the agent pays and retries with proof. Payments become a normal part of an API call.

Source: x402 open standard

Previous lesson · Next lesson · Course overview · All courses