{"slug": "breaking-cloudflare-amount-is-no-longer-accepted", "title": "Cloudflare: amount is no longer accepted", "summary": "Cloudflare's published API specification now omits the `amount` field from `POST /accounts/{account_id}/ai-gateway/billing/topup/config`, so requests that still send it succeed but the value is silently ignored rather than rejected. The change affects code posting top-up configuration to the AI Gateway billing endpoint, which will no longer apply the submitted amount. Developers are advised to search their codebases for the field, since no error will signal the behavior change.", "body_md": "## What changed\n\nUsually ignored rather than rejected, so the call succeeds and does something subtly different.\n\nAffects `amount` on `POST /accounts/{account_id}/ai-gateway/billing/topup/config`. Grep for it: nothing else will tell you.\n\n## Who is affected\n\nCode that sends POST /accounts/{account_id}/ai-gateway/billing/topup/config (amount).\n\n## Before and after\n\n| Where | Before | After | \n|---|---|---|\n| POST /accounts/{account_id}/ai-gateway/billing/topup/config · amount | present | absent | \n\n## Code that breaks\n\n```\nawait client.post(\"/accounts/{account_id}/ai-gateway/billing/topup/config\", {\n  // amount is now ignored, not rejected\n  amount: value,\n});\n```\n\nBased on Cloudflare’s published API specification. [How severity is decided](https://driftwatch.et/method).", "url": "https://wpnews.pro/news/breaking-cloudflare-amount-is-no-longer-accepted", "canonical_source": "https://driftwatch.et/changes/cloudflare-2026-10-16-d14aa03d", "published_at": "2026-10-16 21:36:36+00:00", "updated_at": "2026-10-19 17:16:52.284928+00:00", "lang": "en", "topics": ["ai-infrastructure", "developer-tools"], "entities": ["Cloudflare", "AI Gateway"], "also_reported_by": [{"url": "https://driftwatch.et/changes/cloudflare-2026-10-16-c7afa2d3", "source": "driftwatch.et", "title": "Cloudflare: threshold is no longer accepted", "published_at": "2026-10-16T21:36:36+00:00"}], "alternates": {"html": "https://wpnews.pro/news/breaking-cloudflare-amount-is-no-longer-accepted", "markdown": "https://wpnews.pro/news/breaking-cloudflare-amount-is-no-longer-accepted.md", "text": "https://wpnews.pro/news/breaking-cloudflare-amount-is-no-longer-accepted.txt", "jsonld": "https://wpnews.pro/news/breaking-cloudflare-amount-is-no-longer-accepted.jsonld"}}