4xx Client Error

HTTP 402 Payment Required

Reserved for future use. Originally intended for digital payment systems, this status code is not widely used by standard protocols but is sometimes employed by APIs to indicate that payment is needed.

Common Causes

  • API subscription or usage quota exceeded
  • Premium feature requires paid plan
  • Trial period expired, payment needed

How to Fix

  1. 1Upgrade your subscription or payment plan
  2. 2Check billing status and payment method
  3. 3Contact the service provider about pricing options

Example

HTTP 402 Payment Required
GET /api/premium-data HTTP/1.1

→ 402 Payment Required
→ { "message": "Upgrade to Pro for access" }

Related Client Error Codes