The 402 (Payment Required) status code is reserved for future use. — RFC 7231 6.5.2
The 402 (Payment Required) status code is reserved for future use.
— RFC 7231 6.5.2
Even though the spec says that this is for future use, this is definitely in use by servers now. To stay spec-compliant, however, a 403 might be a better fit.