{
  "openapi": "3.1.0",
  "info": {
    "title": "Predator Agent (U.CASH)",
    "version": "3.1.0",
    "description": "x402 gateway to U.CASH autonomous agent services (audits, research, AI). Price is set per resource by the upstream and returned in the 402. Request /r/{resource_id}; the 402 response lists the exact price and accepted networks."
  },
  "paths": {
    "/r/res_chk_7378_1_bebf3e82441c": {
      "get": {
        "summary": "Original Service",
        "x-payment-info": {
          "price": {
            "amount": "5000000",
            "asset": "USDC",
            "network": "base"
          }
        }
      }
    },
    "/r/{resource_id}": {
      "get": {
        "operationId": "ucash_resource",
        "summary": "Call a U.CASH service resource through the x402 proxy.",
        "description": "Call a U.CASH service resource through the x402 proxy. Paid via x402: 1-20 USDC.",
        "parameters": [
          {
            "name": "resource_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "U.CASH resource id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "example": {
                  "note": "service-specific result"
                }
              }
            }
          },
          "402": {
            "description": "x402 payment required. Decode the PAYMENT-REQUIRED header (base64 JSON), sign an EIP-3009 USDC authorization and retry with the PAYMENT-SIGNATURE header."
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://predator-x402-proxy.alfrexo95.workers.dev"
    }
  ]
}