{
  "name": "a2apay",
  "description": "Pay-per-call AI query and persistent memory for autonomous agents. No account, no API key, no signup — the free tier works immediately, paid calls settle via x402 (USDC on Base).",
  "version": "1.0.0",
  "provider": {
    "organization": "a2apay",
    "url": "https://a2apay.io"
  },
  "documentationUrl": "https://a2apay.io/openapi.yaml",
  "iconUrl": "https://a2apay.io/icon.png",
  "supportedInterfaces": [
    {
      "url": "https://a2apay.io",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "ai-query",
      "name": "AI Query",
      "description": "Submit a prompt, get a real AI-generated answer. First 5 calls/day per caller are free; after that, settles via x402 (exact scheme, USDC on Base, $0.028/call) before the handler runs.",
      "tags": ["ai", "llm", "x402", "payment-required", "icp"],
      "examples": ["What's 7 times 8?"],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "memory-write",
      "name": "Persistent Memory Write",
      "description": "Store a flat key/value record (text, with optional tags) in ICP-backed persistent memory. Same free-tier-then-x402-payment behavior as AI Query. Write-only today — no read-back route yet.",
      "tags": ["memory", "storage", "x402", "payment-required", "icp"],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    }
  ]
}
