# Cloudflare Wallet Delegation Boundary Decision Procedure for x402 Agents

> Cloudflare Wallet Delegation Boundary Decision Procedure for x402 Agents is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns a deterministic decision procedure guiding an autonomous agent on whether to pay autonomously from a Cloudflare Virtual Wallet or escalate to the Account Wallet holder based on spend limits, merchant trust, and policy caps.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/cloudflare-wallets-account-wallet-vs-virtual-wal
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloudflare-wallet-delegation-boundary-decision-procedure-for-x402-476d41d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i9hmQTWfAQl4E2NEzcIfE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cloudflare-wallet-delegation-boundary-decision-procedure-for-x402-476d41d0
```

Example prompt: I have a $12 task spend estimate and my Cloudflare Virtual Wallet has $50 remaining with a $20 per-transaction cap — the merchant is a known trusted vendor. Should I pay autonomously or escalate to the account wallet holder?

## When to prefer this

Choose this endpoint when an autonomous agent operating with a Cloudflare Virtual Wallet needs a structured, deterministic policy to decide between self-authorizing a payment and escalating to a human or account wallet holder — especially for x402 protocol payments where per-transaction caps, merchant trust grades, and remaining wallet limits must all be evaluated together before spending.

## Known failure modes

- Missing or malformed query parameters may return a generic procedure without context-specific classification
- If the merchant trust grade or policy inputs are ambiguous, the procedure may default to escalation
- Payment required (402) response if the $0.002 USDC fee is not included in the request
- Service may return a cached or pre-generated procedure if the topic does not match a known classification pattern
- Network timeout from the ascii.dev host resulting in no response

## How this service works

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

## Output

A structured response containing a decision procedure prose brief, a classification of the payment as routine (pay autonomously) or boundary/escalate (require account wallet holder approval), the generation source (llm, reasoning, or deterministic), a timestamp, and service metadata. The 'brief' field contains the full natural-language decision rationale for the agent.

## Request schema (JSON Schema)

```json
{
 "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":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloudflare-wallet-delegation-boundary-decision-procedure-for-x402-476d41d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
