• Decode an x402 access token to extract subscriber address and plan ID. The x402 access token is a base64-encoded JSON document containing session key information and permissions.

    Parameters

    • accessToken: string

      The x402 access token to decode (base64-encoded JSON)

    Returns null | Record<string, any>

    The decoded token data or null if invalid