{
  "id": "mpp.cloudflare.proxy",
  "protocol": "mpp",
  "layer": "payment",
  "role": "merchant",
  "status": "optional",
  "title": "Gate HTTP content with the mpp-proxy Worker",
  "description": "Cloudflare's mpp-proxy template returns an MPP challenge on protected routes, forwards paid requests and issues a 1-hour session cookie.",
  "goal": "Paywall content or APIs for agents without touching your origin.",
  "note": "Bot Management can limit the paywall to low bot scores, keeping the site free for humans.",
  "how_to_implement": {
    "steps": [
      "Deploy cloudflare/mpp-proxy.",
      "Set PAY_TO, PAYMENT_CURRENCY and PROTECTED_PATTERNS in wrangler.jsonc.",
      "Use TEMPO_TESTNET true while testing."
    ]
  },
  "resources": [
    {
      "label": "Cloudflare: charge for HTTP content with MPP",
      "url": "https://developers.cloudflare.com/agents/tools/payments/mpp-charge-for-http-content/",
      "type": "docs",
      "publisher": "Cloudflare"
    },
    {
      "label": "Cloudflare Agents: agentic payments",
      "url": "https://developers.cloudflare.com/agents/tools/payments/",
      "type": "docs",
      "publisher": "Cloudflare"
    }
  ],
  "audit": {
    "method": "http_get",
    "automatable": true,
    "url_pattern": "{paid_route}",
    "expect": {
      "status": 402,
      "headers_present": [
        "www-authenticate"
      ]
    },
    "human": "Protected pattern returns 402 with WWW-Authenticate: Payment."
  },
  "how_to_verify": "Protected pattern returns 402 with WWW-Authenticate: Payment.",
  "artifacts": [
    "mpp-proxy Worker"
  ],
  "depends_on": [
    "mpp.middleware"
  ],
  "status_note": "Bot Management can limit the paywall to low bot scores, keeping the site free for humans.",
  "verified": true,
  "slug": "mpp-cloudflare-proxy",
  "category": "payment",
  "url": "https://vreeman.ai/commerce/checklist#mpp.cloudflare.proxy",
  "updated": "2026-10-12",
  "sources": [
    {
      "label": "Cloudflare: charge for HTTP content with MPP",
      "url": "https://developers.cloudflare.com/agents/tools/payments/mpp-charge-for-http-content/",
      "type": "docs",
      "publisher": "Cloudflare"
    },
    {
      "label": "Cloudflare Agents: agentic payments",
      "url": "https://developers.cloudflare.com/agents/tools/payments/",
      "type": "docs",
      "publisher": "Cloudflare"
    }
  ],
  "related_slugs": [
    "mpp-middleware"
  ]
}