The HTTP 402 status code is reserved for future use.
“Reserved” means developers should not use this status code until the spec is fleshed out. In practice,
402 Payment Required is used to paywall or rate limit services:
- Shopify uses 402 when the store is frozen because the client hasn’t paid their outstanding balance.
- Google Cloud uses 402 when the account has reached its daily budget limit.
- YouTube uses 402 to rate limit downloads (CAPTCHA).
- Stripe uses 402 when the request fails despite valid parameters (for example, incorrect credit card information).
No spyware, no promotional emails, or keyword-stuffed junk. I will only send you a single email when I've got something interesting to say. Unsubscribe anytime.
You can also subscribe to the Atom feed (it's like RSS, but better).