Skip to main content
Glama

x402.decode

x402.decode

Decode an x402 payment challenge (base64 PAYMENT-REQUIRED header or JSON) into structured, human-readable payment requirements with networks, assets, amounts, and payTo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
challengeYesBase64-encoded PAYMENT-REQUIRED header value or the raw x402 challenge JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources