Builds a 402 Response with the base64 PAYMENT-REQUIRED header (ТЗ
§3.4). The body is the JSON of PaymentRequired (informative); extra
ResponseInit is merged (custom headers survive; content-type
defaults to application/json). Throws TypeError on a
structurally invalid pr or an oversized header value.
Builds a 402
Responsewith the base64PAYMENT-REQUIREDheader (ТЗ §3.4). The body is the JSON ofPaymentRequired(informative); extraResponseInitis merged (custom headers survive;content-typedefaults toapplication/json). ThrowsTypeErroron a structurally invalidpror an oversized header value.