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