What does 402 Payment Required mean?
Reserved in the spec. Some APIs use it when the account has no credit or a subscription is unpaid; Stripe uses it for failed card payments.
Common causes
- Unpaid plan or exhausted quota
- Declined payment (Stripe API)
How to fix it
- Check billing on the account
- For card declines, read the decline code
402 and webhooks
Rare in webhooks.
Test how your client handles 402
In the webhook tester you can add a response rule that answers 402 — useful to check retries, error handling and alerts before production.
FAQ
What does HTTP 402 mean?
Reserved; used by some APIs for billing. Reserved in the spec. Some APIs use it when the account has no credit or a subscription is unpaid; Stripe uses it for failed card payments.
Is 402 an error?
Yes — a client error: the request must be changed before retrying.
Other 4xx codes
400 Bad Request · 401 Unauthorized · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 418 I'm a teapot · 422 Unprocessable Content · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request