402 Payment Required
402 Payment Required — code reserved for future use, but currently used by some APIs to signal "payment needed".
Definition (RFC 9110)
HTTP status code 402 402 Payment Required is defined in RFC 9110 (HTTP Semantics), Section 15.5.3 — the current authoritative specification for HTTP semantics, published June 2022, which obsoletes the older RFC 7231 and RFC 2616.
Description
402 Payment Required was originally reserved for future use in digital payment schemes, but has since been adopted by many APIs and platforms to indicate that the user has exceeded a free tier or needs to upgrade their plan to access the resource.
Common in SaaS platforms, API gateways with usage limits, and premium content systems. The response typically includes information about how to make a payment or upgrade.
Common Causes
How to Fix
Check your website's HTTP status code
Check now →