402
Payment Required
Client errors (4xx)·RFC 9110
What 402 means
Reserved for future use; sometimes used by APIs to signal a payment or quota issue.
Not part of a formal payment standard. Some services return it when a paid plan or credit is required.
Client errors (4xx)
The request contains an error from the client — bad syntax, missing auth or a wrong URL.
Other 4xx codes
400Bad Request401Unauthorized403Forbidden404Not Found405Method Not Allowed406Not Acceptable407Proxy Authentication Required408Request Timeout409Conflict410Gone411Length Required412Precondition Failed413Content Too Large414URI Too Long415Unsupported Media Type416Range Not Satisfiable417Expectation Failed418I'm a teapot421Misdirected Request422Unprocessable Content423Locked424Failed Dependency425Too Early426Upgrade Required428Precondition Required429Too Many Requests431Request Header Fields Too Large451Unavailable For Legal Reasons
FAQ — 402
What does HTTP 402 mean?
402 Payment Required: Reserved for future use; sometimes used by APIs to signal a payment or quota issue. Not part of a formal payment standard. Some services return it when a paid plan or credit is required.
Which class does status code 402 belong to?
402 is a Client errors (4xx) code. The request contains an error from the client — bad syntax, missing auth or a wrong URL.
Where is the 402 code defined?
Status code 402 is defined in RFC 9110 and is part of the IANA HTTP Status Code Registry.