This is an experimental technology

Check the Browser compatibility table carefully before using this in production.

The HTTP 402 Payment Required is a nonstandard client error status response code that is reserved for future use.

Sometimes, this code indicates that the request can not be processed until the client makes a payment. Originally it 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. 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

Specification Title RFC 7231, section 6.5.2: 402 Payment Required HTTP/1.1: Semantics and Content

Browser compatibility

The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.

No compatibility data found. Please contribute data for "http.status.402" (depth: 1) to the MDN compatibility data repository.

See also