Encodes a PaymentRequired, PaymentPayload or settlement response object as the base64 value of its x402 header, for hand-written servers, clients and tests, and reports the same problems /v1/decode finds.
| Network | Scheme | Amount | Pay To |
|---|---|---|---|
| Base | exact | $0.002000 USDC | 0xe6f7...c3f8 |