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 due to the client not having 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).