{"uid":"cap_rwePnXpdbhR38Zv1dLssq","slug":"cloudflare-wallet-delegation-boundary-decision-procedure-k-2so-x402-46ee81c5","name":"Cloudflare Wallet Delegation Boundary Decision Procedure (K-2SO x402)","description":"Deterministic decision procedure for an autonomous agent deciding whether to pay from a Cloudflare Virtual Wallet or escalate to the Account Wallet holder. Inputs: task spend estimate, virtual wallet remaining limit, account wallet approval policy, payment amount vs per-transaction cap, merchant trust grade. Procedure: (1) classify the payment as routine (under virtual limit, known merchant, deterministic deliverable) and pay autonomously, (2) classify as boundary (over 80% of remaining virtual","url":"https://k2so.wrong.systems/api/services/cloudflare-wallets-account-wallet-vs-virtual-wal?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Cloudflare wallet delegation boundary procedure for x402 agents paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"cloudflare-wallets-account-wallet-vs-virtual-wal","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"cloudflare-wallets-account-wallet-vs-virtual-wal","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zzMv9ZzvpW2g7KaoTsPXB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an AI-generated decision procedure brief explaining how to distinguish Cloudflare account wallets from virtual wallets for x402 agent merchants on Base.","exampleAgentPrompt":"Give me the decision procedure for how an AI agent should distinguish between a Cloudflare account wallet and a virtual wallet when operating as an x402 merchant on Base.","exampleUseCases":[{"title":"Wallet architecture guidance for new agent merchant","prompt":"I'm setting up an autonomous agent merchant on Base using x402 and Cloudflare — can you get me the decision procedure explaining when to use an account wallet versus a virtual wallet?"},{"title":"Audit agent wallet delegation boundaries","prompt":"Our x402 agent fleet uses Cloudflare wallets and we need a clear brief on the delegation boundary rules between account wallets and virtual wallets so we can review our setup."},{"title":"Onboarding brief for agent developers","prompt":"Can you fetch the Cloudflare wallet delegation boundary decision procedure from K-2SO so I can include it in the onboarding docs for developers building x402 agent merchants?"}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) explaining how an AI agent should reason about Cloudflare account wallets versus virtual wallets in an x402 context, along with the generating model name, topic string, service slug, ISO-8601 generation timestamp, and generation source (llm, reasoning, or deterministic). Also includes payment metadata confirming the USDC microtransaction was settled.","failureModes":["HTTP 402 returned if USDC payment not settled before request — agent must pay exact amount and retry with PAYMENT-SIGNATURE header","Invalid or missing method enum (only GET/HEAD/DELETE accepted) returns validation error","Malformed queryParams (e.g. meta not '0' or '1') may cause schema rejection","Service may be temporarily unavailable if K-2SO agent heartbeat is down","Topic override may produce off-topic or irrelevant procedure if poorly specified"],"whenToPreferThis":"Choose this endpoint when an AI agent or developer needs authoritative, LLM-generated procedural guidance specifically about Cloudflare wallet type selection in the context of x402 autonomous agent merchants on Base. Prefer this over generic documentation searches when you need a structured, agent-consumable decision brief with a clear prose procedure that can be directly acted upon. Especially useful for agents that need to self-govern wallet delegation decisions at runtime without human intervention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T04:27:49.528Z","isFirstParty":false,"canonicalSlug":"cloudflare-wallet-delegation-boundary-decision-procedure-k-2so-x402-46ee81c5"}