{"uid":"cap_432GMXd2jK5Q5jAibjDgs","slug":"x402-delegation-revocation-procedure-for-agents-95f8ec6a","name":"x402 Delegation Revocation Procedure for Agents","description":"Decision procedure for revoking an agent's delegated x402 spending authority without orphaning merchants mid-settlement. Covers revocation trigger classes (principal revoke, policy expiry, per-merchant cap breach, key-compromise suspicion), in-flight quote lifecycle (validated at signing time vs settlement time, honor/cancel/rebind rules), grace window for merchants settling already-presented quotes against a revoked grant, receipts arriving after revocation (accepted or refunded), the","url":"https://k2so-8080.on.ascii.dev/api/services/x402-delegation-revocation-procedure-for-agents?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":"x402 delegation revocation procedure for 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":null,"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":"unknown","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_-13NJk0uZTeN52UaHVDkj","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 a decision procedure brief for revoking an agent's delegated x402 spending authority while handling in-flight quotes, grace windows, and post-revocation receipts without orphaning merchants mid-settlement.","exampleAgentPrompt":"Walk me through the decision procedure for revoking my agent's x402 delegated spending authority — specifically how to handle in-flight quotes and any merchant receipts that arrive after revocation.","exampleUseCases":[{"title":"Key compromise emergency revocation","prompt":"My agent's signing key may have been compromised — what's the x402 decision procedure for revoking its delegation right now without stranding any merchants who are mid-settlement?"},{"title":"Per-merchant cap breach handling","prompt":"My agent just hit the per-merchant spending cap for one of its x402 grants — walk me through the revocation procedure and what happens to any quotes that were already presented to that merchant."},{"title":"Policy expiry grace window management","prompt":"My agent's x402 delegation policy is about to expire — what are the rules for the grace window so merchants can still settle quotes they already received before the grant expires?"}],"resultDescription":"A natural-language decision procedure brief (prose) explaining revocation trigger classes, in-flight quote lifecycle rules (honor/cancel/rebind), grace window durations for merchants settling presented quotes, and disposition rules for receipts arriving after revocation. Also includes metadata such as model used, generation source (llm/reasoning/deterministic), and ISO-8601 timestamp.","failureModes":["Payment required but not provided — returns 402 with payment details","Invalid method — only GET/HEAD/DELETE accepted","Malformed queryParams — topic or meta values outside allowed enum rejected","Service temporarily unavailable — provider K-2SO unreachable","Generation failure — LLM backend error resulting in incomplete procedure prose"],"whenToPreferThis":"Choose this endpoint when an agent needs structured operational guidance on safely revoking delegated x402 spending authority, especially when merchants have in-flight quotes or unsettled receipts. Prefer over generic documentation when the agent must make real-time revocation decisions without orphaning active payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:52.636Z","isFirstParty":false,"canonicalSlug":"x402-delegation-revocation-procedure-for-agents-95f8ec6a"}