Did you know the web was designed with payments in mind?

The HTTP code 402 was created and reserved for “Payment Required”. This class of status code is intended for situations in which the error seems to have been caused by the client for a no-payment situation.


Source : https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error :

« 402 Payment Required

Reserved for future use. The original intention was that this code might be used as part of some form of digital cash or micropayment scheme, as proposed, for example, by GNU Taler but that has not yet happened, and this code is not usually used. Google Developers API uses this status if a particular developer has exceeded the daily limit on requests. Sipgate uses this code if an account does not have sufficient funds to start a call. Shopify uses this code when the store has not paid their fees and is temporarily disabled. »


Today, it could be also really useful around any development of a Dapp on the Blockchain Ethereum. Indeed, it is impossible to deploy a contract and use the network without paying Gas. In case of a lack of credit on your wallet, the service could return you an HTTP_402 code.

More broadly, with the Blockchain, the web becomes a native internet currency.

So, we would witness the revival of this code, as a result of a major mutation of the web…




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.