{
  "@context": "https://x402.org/context.json",
  "type": "x402-resource-server",
  "version": "2.0",
  "name": "GadgetHumans Payment Router",
  "description": "x402 payment rail for the agent economy. 0.5% commission per transaction. Affiliates earn 19.8% of our commission. The Visa for agents.",
  "network": "eip155:8453",
  "wallet": "0x77b383206Fc9b634EeBCC1f4F2b5281D409AA271",
  "commission": "0.5%",
  "affiliateRate": "19.8%",
  "endpoints": [
    {
      "path": "/api/x402/verify",
      "description": "Verify a payment and calculate commission split (POST)",
      "method": "POST",
      "input": "X-402-Payment header (base64 JSON with amount, signature)",
      "output": "Verification result with commission breakdown"
    },
    {
      "path": "/api/x402/health",
      "description": "Router health check (GET)",
      "method": "GET",
      "output": "Status, merchant, commission rate"
    },
    {
      "path": "/api/x402/stats",
      "description": "Transaction statistics (GET)",
      "method": "GET",
      "output": "Total transactions, commission earned, unique wallets"
    }
  ],
  "sdk": {
    "npm": "@gadgethumans/x402",
    "install": "npm install @gadgethumans/x402",
    "usage": "import { wrapMCPServer } from '@gadgethumans/x402'; wrapMCPServer(server)",
    "description": "One-line drop-in x402 payment middleware for any MCP server. Every payment routes through our proxy."
  },
  "pricing": {
    "per_call": "0.001 USDC",
    "commission": "0.5% to GadgetHumans",
    "affiliate": "19.8% of our commission shared with referrer"
  },
  "extensions": {
    "bazaar": true,
    "payment-identifier": true,
    "offer-receipt": true,
    "builder-code": true,
    "affiliate-routing": true,
    "commission-splitting": true
  }
}
