{
  "name": "Claude CMS agent payments",
  "version": "1.0",
  "description": "Create a hosted Stripe payment page for any store built on Claude CMS, on behalf of a human buyer. Money goes straight to the merchant's own Stripe account; no card details pass through this API.",
  "docs": "https://claudecms.com/agents",
  "llms_txt": "https://claudecms.com/llms.txt",
  "openapi": "https://claudecms.com/api/agent/openapi.json",
  "endpoints": {
    "create": {
      "method": "POST",
      "url": "https://claudecms.com/api/agent/checkout"
    },
    "status": {
      "method": "GET",
      "url": "https://claudecms.com/api/agent/checkout?id={id}&t={token}"
    }
  },
  "auth": "none for agents (rate-limited per address, store and buyer); the merchant must have switched agent payments on for their store",
  "flow": [
    "POST with preview:true to check the store is ready and see the quote.",
    "POST again without preview to get checkout_url (single use, expires in 24 hours).",
    "Give checkout_url to the human; they pay on Stripe's hosted page.",
    "GET status_url until status is paid; the merchant then has a normal order."
  ]
}