CyberMax
Home › Glossary › MCP and AI agents

What is HTTP 402 Payment Required?

MCP and AI agents glossary · 1 primary source

An HTTP status code reserved for payment that HTTP itself never defined in detail, now used by agent payment schemes such as x402.

RFC 9110 lists 402 as "reserved for future use". Because browsers and HTTP libraries already understand the code, protocols that let software pay per request reuse it: the server answers 402 with what it costs, and the client pays and retries.

Sources

Related terms

On this site

All mcp and ai agents terms · Full glossary