PaymentRequired
Less than 1 minute
PaymentRequired
HTTP 402 Payment Required response class.
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 happened, and this code is not usually used.
Methods
__construct
public __construct(string $contentType = 'text/html'): voidParameters
| Parameter | Type | Description |
|---|---|---|
$contentType | string |
Generated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000