All tools / Build

HTTP 402 message builder

Build an HTTP 402 message with a JSON body and a payment-required header.

Message

The header value is standard base64 of the version and accepts array. Paste the result into the inspector to round-trip it.