{
  "schema_version": "1.0.0",
  "protocol": "xpayr-x402-v1",
  "name": "XPayr Non-Custodial HTTP 402 & Agentic Paywall Protocol",
  "provider": {
    "name": "XPayr",
    "url": "https://xpayr.com",
    "wikidata_id": "Q131586664",
    "custody_model": "non-custodial",
    "gateway_fee_bps": 50,
    "merchant_settlement_share_pct": 99.5
  },
  "documentation_url": "https://xpayr.com/x402",
  "endpoints": {
    "create_session": "https://xpayr.com/api/v1/payments",
    "session_status": "https://xpayr.com/api/v1/payments/{session_id}",
    "issue_license": "https://xpayr.com/api/v1/licenses/issue",
    "verify_license": "https://xpayr.com/api/v1/licenses/verify",
    "jwks_uri": "https://xpayr.com/.well-known/jwks.json",
    "mcp_jsonrpc": "https://xpayr.com/api/mcp",
    "openapi_spec": "https://xpayr.com/.well-known/openapi.json",
    "agents_manifest": "https://xpayr.com/.well-known/agents.json"
  },
  "verification_modes": [
    {
      "mode": "es256_jwks_bearer",
      "header": "Authorization: Bearer <jwt>",
      "algorithm": "ES256",
      "curve": "P-256",
      "jwks_uri": "https://xpayr.com/.well-known/jwks.json",
      "sdk": "@xpayr/extension-kit@0.2.0"
    },
    {
      "mode": "hmac_sha256_webhook",
      "header": "X-XPayr-Signature",
      "events": [
        "payment.completed",
        "payment.underpaid_accepted",
        "payment.failed",
        "license.issued"
      ],
      "evidence_sdk": "@xpayr/payment-evidence@0.2.0"
    }
  ],
  "supported_rails": [
    { "network": "base", "chain_id": 8453, "assets": ["USDC", "ETH", "DAI"] },
    { "network": "arbitrum", "chain_id": 42161, "assets": ["USDC", "USDT", "ARB", "ETH", "DAI"] },
    { "network": "polygon", "chain_id": 137, "assets": ["USDC", "USDT", "MATIC", "DAI"] },
    { "network": "solana", "chain_id": "solana-mainnet", "assets": ["USDC", "USDT", "SOL", "PYUSD"] },
    { "network": "tron", "chain_id": "tron-mainnet", "assets": ["USDT", "TRX"] },
    { "network": "bsc", "chain_id": 56, "assets": ["USDT", "USDC", "BNB"] },
    { "network": "ethereum", "chain_id": 1, "assets": ["USDC", "USDT", "ETH", "DAI", "PYUSD"] },
    { "network": "arc-testnet", "chain_id": "circle-arc-testnet", "assets": ["USDC"] }
  ],
  "simulators": {
    "mcp_playground": "https://xpayr.com/tools/mcp-playground",
    "agent_policy_simulator": "https://xpayr.com/tools/ai-agent-policy-simulator",
    "wallet_license_verifier": "https://xpayr.com/tools/wallet-license-verifier"
  }
}
