402 Payment Required

Estimated reading: 1 minute 1483 views

This error code notifies the user that the content is unavailable without payment.

This is a nonstandard response marked for future use and is currently experimental. This is designed for sites enabling using payment systems or digital cash.

There is no standard use for this error as it is not yet operational.

Users are not likely to see this error as it’s currently not in active use.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The HTTP 402 Payment Required is a nonstandard response status code that is reserved for future use. This status code was created to enable digital cash or (micro) payment systems and would indicate that the requested content is not available until the client makes a payment.

Sometimes, this status code indicates that the request cannot be processed until the client makes a payment. However, no standard use convention exists and different entities use it in different contexts.

Status

402 Payment Required

Example response

HTTP/1.1 402 Payment Required
Date: Wed, 21 Oct 2015 07:28:00 GMT

Specifications

SpecificationTitle
RFC 7231, section 6.5.2: 402 Payment RequiredHTTP/1.1: Semantics and Content