All tools / Headers

Encode payment-required

Encode payment JSON as a standard and URL-safe base64 payment-required value.

Base64

The input has to be JSON, not a full HTTP message. Both standard base64 and base64url are shown.