402
Client Error
402 Payment Required
Payment is required to access this resource.
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
- Free plan limit exceeded (API calls, storage, seats)
- Subscription expired or cancelled
- Accessing a paid feature on a free tier
- Rate-limited API with pay-per-use model
How to Fix
- Include a clear error message explaining what payment/upgrade is needed
- Add a
Retry-Afteror plan upgrade URL in the response - Show in-app upgrade prompts before the user hits this error
- Log occurrences to identify conversion opportunities
Check your website's HTTP status code
Check now →