{"uid":"cap_QiWI69yFr_h54EbgPVzGm","slug":"delx-commerce-refund-policy-preflight-f92cfa9b","name":"Delx Commerce Refund Policy Preflight","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/refund-policy-preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"policy":{"type":"object","description":"Refund policy JSON"},"purchase":{"type":"object","description":"Purchase facts JSON"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-refund-policy-preflight/v1","reasons":[],"eligible":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9zDG07JWkkPevw9d1bxAA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a purchase is eligible for a refund given a specific refund policy, returning eligibility status and reasons.","exampleAgentPrompt":"Can you check whether this purchase — order ID #8821, bought 3 days ago, unused, within the 30-day return window — qualifies for a refund under our standard policy that requires items to be unused and returned within 30 days?","exampleUseCases":[{"title":"E-commerce refund pre-screening","prompt":"Before I process this refund request, check if the customer's order from 5 days ago is eligible under our policy: refunds allowed within 14 days, item must be unopened. The customer says the item is still sealed."},{"title":"Agent-driven customer support automation","prompt":"A customer is asking for a refund on a digital purchase made 2 days ago. Our policy says no refunds on digital goods after 24 hours. Can you check if their purchase is still eligible?"},{"title":"Marketplace seller policy enforcement","prompt":"I have a seller policy that only allows refunds if the item is defective and reported within 7 days. The buyer is reporting a defect 6 days after purchase — does this meet the refund criteria?"}],"resultDescription":"Returns a JSON object with a schema identifier ('delx/util-refund-policy-preflight/v1'), a boolean 'eligible' field indicating whether the purchase qualifies for a refund, and a 'reasons' array listing any disqualifying conditions or policy violations found.","failureModes":["Malformed policy JSON results in a validation error response","Missing required purchase fields cause incomplete eligibility evaluation","Ambiguous policy rules may result in false negatives or positives","Policy and purchase objects with incompatible schemas may cause processing errors","Network or payment failure returns a 402 or 5xx error before evaluation occurs"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-signup, pay-per-call preflight check to evaluate refund eligibility before committing to a full refund transaction. Ideal for AI agents managing customer support flows, e-commerce automation, or marketplace enforcement where you want a verifiable, policy-driven decision without building custom logic. Prefer this over custom rule engines when the policy can be expressed as a JSON object and you need instant, per-request pricing via USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:48:56.475Z","isFirstParty":false,"canonicalSlug":"delx-commerce-refund-policy-preflight-f92cfa9b"}