explainer

What is HTTP 402? Payment Required for agents and APIs

HTTP 402 Payment Required was reserved in 1997 for digital payments. It sat unused for decades. Agents calling paid APIs need a machine-readable way to learn that payment is required, and specifications such as x402 now use 402 for that.
Originary2 min read
related