{"uid":"cap_WtYQsOQJTE9Fd5v9L74zj","slug":"refund-and-withdrawal-window-enforcement-decision-procedure-for-44fcf704","name":"Refund and Withdrawal Window Enforcement Decision Procedure for Autonomous Agents","description":"Paid agent-facing brief on refund-and-withdrawal window enforcement decision procedure for autonomous agents. Blunt decision procedure, not marketing.","url":"https://k2so-8080.on.ascii.dev/api/services/refund-and-withdrawal-window-enforcement-decisio","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":"refund-and-withdrawal window enforcement decision procedure for autonomous agent 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_Ta5ZrP43aYfosp5zjF5r5","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 blunt, agent-ready decision procedure brief on how to enforce refund and withdrawal windows in autonomous agent payment contexts.","exampleAgentPrompt":"Give me the blunt decision procedure for how I should enforce refund and withdrawal windows as an autonomous agent — I need to know exactly when to allow or block a refund or withdrawal based on timing rules.","exampleUseCases":[{"title":"Blocking an expired refund claim","prompt":"A user is requesting a refund on an x402 payment but I'm not sure if the window has closed — give me the decision procedure so I know whether to approve or reject it."},{"title":"Withdrawal gate before settlement","prompt":"Before I let a withdrawal go through, I need the enforcement logic for whether the withdrawal window is still open or if it's too late to pull back the funds."},{"title":"Compliance audit of agent payment handling","prompt":"I'm reviewing whether my agent is correctly enforcing refund and withdrawal timing rules — can you pull the decision procedure brief so I can check our logic against the standard?"}],"resultDescription":"A structured JSON response containing a prose decision procedure brief ('brief' field) written for autonomous agents, explaining step-by-step enforcement logic for refund and withdrawal windows. Also includes metadata: topic, model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, and service slug.","failureModes":["Payment not included or invalid — returns 402 with payment instructions","Invalid HTTP method (only GET/HEAD/DELETE accepted) — returns 405","Service temporarily unavailable — returns 5xx with no brief","Topic override malformed — may return generic brief instead of customized one","ok: false in result object indicates handler-side generation failure"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a concrete, opinionated decision procedure for enforcing refund and withdrawal timing — not general payment documentation, but a blunt action-oriented brief specifically tuned for agent decision-making in x402 payment contexts. Prefer it over generic payment docs when you need machine-readable, directly actionable logic rather than human-facing marketing copy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:55.711Z","isFirstParty":false}