{
  "openapi": "3.1.0",
  "info": {
    "title": "Money Competitor Snapshot",
    "version": "1.0.0",
    "description": "x402 pay-gated Competitor Snapshot / Worksheet / Digital Packs API. Settle USDC on Base (eip155:8453) to configured payTo. Unpaid calls return HTTP 402 with PAYMENT-REQUIRED."
  },
  "servers": [
    {
      "url": "https://subjective-overseas-exemption-flexible.trycloudflare.com"
    }
  ],
  "paths": {
    "/health": {
      "get": {
        "summary": "Health",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/.well-known/x402": {
      "get": {
        "summary": "x402 discovery catalog",
        "responses": {
          "200": {
            "description": "catalog"
          }
        }
      }
    },
    "/buy/worksheet": {
      "get": {
        "summary": "DIY worksheet (9 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "DIY worksheet (9 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/snapshot-quick": {
      "get": {
        "summary": "Quick Snapshot (29 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "Quick Snapshot intake (29 USDC)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Intake"
              }
            }
          }
        },
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/snapshot-deep": {
      "get": {
        "summary": "Deep Snapshot (79 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "Deep Snapshot intake (79 USDC)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Intake"
              }
            }
          }
        },
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/sample/snapshot-deep": {
      "get": {
        "summary": "Sample NoteFlow Deep brief (79 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/pack-uk-trader": {
      "get": {
        "summary": "UK Sole Trader Kit (19 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "UK Sole Trader Kit (19 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/pack-first-customers": {
      "get": {
        "summary": "First Customers Pack (15 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "First Customers Pack (15 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/pack-pricing": {
      "get": {
        "summary": "Pricing Pack (12 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "Pricing Pack (12 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/pack-proposal": {
      "get": {
        "summary": "Proposal Kit (15 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "Proposal Kit (15 USDC, instant md)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/csv-json": {
      "get": {
        "summary": "CSV↔JSON converter (5 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "CSV↔JSON converter intake (5 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/openapi-stub": {
      "get": {
        "summary": "OpenAPI 3 stub (19 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "OpenAPI 3 stub intake (19 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/buy/usdc-verify": {
      "get": {
        "summary": "Base USDC Transfer verify (5 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      },
      "post": {
        "summary": "Base USDC Transfer verify intake (5 USDC)",
        "responses": {
          "200": {},
          "402": {}
        }
      }
    },
    "/schema/intake": {
      "get": {
        "summary": "Intake JSON Schema",
        "responses": {
          "200": {
            "description": "JSON Schema"
          }
        }
      }
    },
    "/tools/pricing-questions": {
      "get": {
        "summary": "Free: Competitor → 5 Pricing Questions (HTML, unpaid)",
        "responses": {
          "200": {
            "description": "HTML tool"
          }
        }
      }
    },
    "/tools/icp": {
      "get": {
        "summary": "Free: SaaS one-liner / ICP generator (HTML, unpaid)",
        "responses": {
          "200": {
            "description": "HTML tool"
          }
        }
      }
    },
    "/tools/matrix": {
      "get": {
        "summary": "Free: Feature matrix blank + CSV (HTML, unpaid)",
        "responses": {
          "200": {
            "description": "HTML tool"
          }
        }
      }
    },
    "/tools/pay-request": {
      "get": {
        "summary": "Free: USDC payment request memo builder (HTML, unpaid)",
        "responses": {
          "200": {
            "description": "HTML tool"
          }
        }
      }
    },
    "/free": {
      "get": {
        "summary": "Free tools hub — links to all unpaid tools + catalog",
        "responses": {
          "200": {
            "description": "HTML hub"
          }
        }
      }
    },
    "/catalog": {
      "get": {
        "summary": "Funnel K: public catalog of offers A–J + pay/x402 (HTML, unpaid)",
        "responses": {
          "200": {
            "description": "HTML catalog"
          }
        }
      }
    },
    "/k": {
      "get": {
        "summary": "Alias for /catalog (unpaid)",
        "responses": {
          "200": {
            "description": "HTML catalog"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Intake": {
        "type": "object",
        "required": [
          "product_name",
          "category",
          "geography",
          "tier"
        ],
        "properties": {
          "product_name": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "known_competitors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 3
          },
          "geography": {
            "type": "string"
          },
          "tier": {
            "type": "string",
            "enum": [
              "quick",
              "deep"
            ]
          },
          "url": {
            "type": "string"
          },
          "delivery_email_or_webhook": {
            "type": "string"
          }
        }
      }
    }
  }
}