PAYMENT-REQUIRED is invalid base64

Quirk · GET /api/x402/header-bad-base64 · 402 / Challenge Construction

The PAYMENT-REQUIRED header value is not valid base64.

Explanation

The header carries a value that is not valid base64, so the client throws during the decode step before it can even read the requirements. This is a merchant encoding bug.

What to watch

The client throws at the decode step, before it can read the requirements.

Facilitator

Settled against the live Radius testnet facilitator (https://facilitator.testnet.radiustech.xyz). A valid payment runs a real /verify and /settle on-chain.

Metadata

Back to catalog