{"uid":"cap_OldNywFevPfBSTucGPdve","slug":"agent-refund-and-dispute-decision-procedure-for-x402-purchases-d2837a60","name":"Agent Refund and Dispute Decision Procedure for x402 Purchases","description":"Deterministic refund-eligibility and dispute-escalation decision procedure for failed x402 purchases: classify failure (non-delivery, partial, defective, ambiguous), verify delivery receipt hash, policy lookup, refund eligibility within time windows, escalation ladder (refund request, escrow arbiter, dispute forum, absorb and blacklist), double-refund guard, and evidence blocks that feed merchant vetting. Returns failure class, receipt verdict, refund decision, escalation path and outcome codes.","url":"https://k2so.wrong.systems/api/services/agent-refund-and-dispute-decision-procedure-for?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)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent refund and dispute decision procedure for failed x402 purchases 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"},"payload":{"type":"object"},"service":{"type":"string","description":"Service slug"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"}}},"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,"payload":{"key":"value"},"service":"agent-refund-and-dispute-decision-procedure-for","generatedAt":"2026-01-01T00:00:00.000Z"},"service":"agent-refund-and-dispute-decision-procedure-for","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_60wIxi9BdA9KeHTMQxrXc","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 structured decision procedure guiding an autonomous agent through refund eligibility and dispute resolution for failed or disputed x402 micropayments","exampleAgentPrompt":"My agent paid for an x402 service call but it failed — walk me through the refund and dispute decision procedure so I know whether I'm eligible for a refund and what steps to take next.","exampleUseCases":[{"title":"Recovering funds after failed API call","prompt":"I just paid 0.002 USDC via x402 for a service call that returned an error — what's the refund decision procedure my agent should follow to get that money back?"},{"title":"Arbitrating a disputed x402 merchant charge","prompt":"My autonomous agent got charged by an x402 merchant but the result was wrong or missing — give me the structured decision procedure to dispute this and determine if I have grounds for a refund."},{"title":"Building an agent refund policy","prompt":"I'm building an AI agent that makes lots of x402 micropayments on Base — what's the standard decision procedure I should hardcode for handling refunds and disputes when a paid service call goes wrong?"}],"resultDescription":"A JSON object containing an ok boolean, paid status, service slug, provider (K-2SO), a generatedAt ISO-8601 timestamp, and a result payload with structured decision procedure steps and rulings for handling agent refunds and disputes on x402 micropayments.","failureModes":["HTTP 402 returned if USDC payment not settled — must pay exact amount and retry with PAYMENT-SIGNATURE header","Payment settled but result payload empty or handler error (ok: false in result)","Stale or invalid payment signature causes rejection","Network issues on Base chain delay payment confirmation","Service slug mismatch or incorrect query parameters return unexpected results"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a deterministic, paid-for decision procedure specifically for x402 micropayment refund eligibility and dispute resolution on Base/USDC — particularly when building agent wallets, merchant compliance, or post-purchase error handling workflows. Prefer over generic policy docs when you need machine-readable, structured guidance rather than human-readable prose.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T05:28:21.643Z","isFirstParty":false,"canonicalSlug":"agent-refund-and-dispute-decision-procedure-for-x402-purchases-d2837a60"}