technical

HTTP 402 for APIs: request, challenge, and record

HTTP 402 Payment Required was reserved in 1997 (RFC 2068) for "future digital payments." Agents calling priced APIs now give it a use. This is how to build 402 responses that both automated agents and human developers can act on.
Originary2 min read
Archived. This piece reflects earlier work and uses legacy terminology and commands. It is kept for the record and is not maintained against the current release. See the current writing for up-to-date guidance.
related