402 Payment Required

Ви читаєте англійську версію цього вмісту, бо ще не існує перекладу для цієї мови. Допоможіть нам перекласти цю статтю!

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

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

See also