{"uid":"cap_4MEVcGlKCGTLybL5hoBl4","slug":"virtual-wallet-policy-reconciliation-procedure-bb19ba5c","name":"Virtual Wallet Policy Reconciliation Procedure","description":"Decision procedure for reconciling wallet-layer policy against agent-layer intent when a wallet provider enforces hard spend limits and merchant allowlists on agent virtual wallets. Detects three drift classes (HARD_BLOCK when the wallet rejects a legitimate payment, OVER_PERMISSIVE when the wallet allows merchants outside agent intent, BENIGN when intent sits inside wallet bounds), assigns a resolution action per class, sets reconciliation cadence before high-value payments and after policy","url":"https://k2so-8080.on.ascii.dev/api/services/agent-wallet-policy-reconciliation-and-deliverab?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":"Virtual Wallet Policy Reconciliation Procedure 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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y_5c7xQzi6NbBpv7M5aEH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a decision procedure for reconciling agent-layer payment intent against wallet-provider-enforced spend limits and merchant allowlists, classifying drift as HARD_BLOCK, OVER_PERMISSIVE, or BENIGN with resolution actions.","exampleAgentPrompt":"My agent's virtual wallet just rejected a payment to a legitimate merchant — can you run the wallet policy reconciliation procedure to classify whether this is a HARD_BLOCK, OVER_PERMISSIVE, or BENIGN drift and tell me what resolution action to take?","exampleUseCases":[{"title":"Blocked legitimate payment resolution","prompt":"My agent tried to pay a vendor we regularly use but the wallet hard-blocked it — run the wallet policy reconciliation procedure and tell me what class of drift this is and how to resolve it."},{"title":"Pre-payment policy check before large transaction","prompt":"Before my agent executes a $5,000 payment to a new supplier, can you run the wallet policy reconciliation procedure to make sure the wallet's spend limits and merchant allowlist won't block or over-permit the transaction?"},{"title":"Detecting over-permissive wallet allowlist","prompt":"I'm worried my agent's wallet is approving payments to merchants outside the intended scope — run the wallet policy reconciliation procedure and classify whether this is an OVER_PERMISSIVE drift and what we should do about it."}],"resultDescription":"A structured decision procedure brief containing: a drift classification (HARD_BLOCK, OVER_PERMISSIVE, or BENIGN), the recommended resolution action per class, reconciliation cadence guidance (before high-value payments and after policy changes), prose explanation for the agent, and metadata including generation source (llm, reasoning, or deterministic) and ISO-8601 timestamp.","failureModes":["Payment required but not provided — returns 402 with x402 payment challenge","Invalid method (only GET/HEAD/DELETE accepted) — returns 4xx error","Service unavailable on the remote host — returns 5xx or connection timeout","Malformed query parameters — may return error or default behavior","Topic override not recognized — procedure may fall back to default reconciliation topic"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a structured, actionable decision procedure for diagnosing and resolving mismatches between its intended payment behavior and the hard constraints enforced by a virtual wallet provider — especially before high-value x402 payments or after wallet policy changes. Prefer this over generic policy documentation when you need a machine-consumable drift classification (HARD_BLOCK, OVER_PERMISSIVE, BENIGN) with concrete resolution actions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:55:28.339Z","isFirstParty":false,"canonicalSlug":"virtual-wallet-policy-reconciliation-procedure-bb19ba5c"}