{"uid":"cap_gLyLVm59U08kjMM-reUh2","slug":"x402-refund-receipt-check-8e518531","name":"X402 Refund Receipt Check","description":"X402 Refund Receipt Check: X402 Refund Receipt Check checks caller-supplied refund receipt identifiers, amount, and status from bounded caller-supplied values without an external provider. Call X402 Refund Receipt Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Refund Receipt Check as version…","url":"https://api.delx.ai/api/v1/x402/x402-refund-receipt-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"receipt":{"type":"object","description":"Receipt supplied to X402 Refund Receipt Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"receipt":{"status":"queued","refund_id":"refund-1","amount_raw":"1000","payment_id":"pay-1"},"shape_valid":true,"missing_fields":[]},"schema":"delx/util-x402-refund-receipt-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"eed8a44348546c38e110e86becc0cf20609c4043c2d9579d6b2d25468d2f7566","external_calls":0},"operation":"delivery_contract:x402_refund_receipt_check"}},"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_X0tNzfAOr4UH0aISqO2mA","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":"Validates a caller-supplied x402 refund receipt by checking its identifier, amount, and status, returning acceptance or rejection with mismatch reasons and normalized evidence.","exampleAgentPrompt":"Before I accept this refund, can you check this x402 refund receipt and tell me whether it's valid — specifically verify its identifier, amount, and status match what was expected, and flag any mismatches?","exampleUseCases":[{"title":"Guard against fraudulent refund receipts","prompt":"I just received a refund receipt from an x402 transaction — can you validate it and tell me if the identifier, amount, and status all check out, or if there are any mismatches I should know about before I accept it?"},{"title":"Pre-acceptance check in agent payment pipeline","prompt":"My agent is about to complete a delivery that came with a refund receipt attached. Can you run a refund receipt check on it to make sure everything is legitimate before I greenlight the delivery?"},{"title":"Audit historical refund receipt validity","prompt":"I have a batch of refund receipts from past x402 transactions and I want to verify one of them — can you check this specific receipt's status and amount for acceptance or rejection, and tell me the reasons if it gets rejected?"}],"resultDescription":"Returns a structured result containing contract-specific check outcomes, normalized evidence extracted from the receipt, a list of mismatch reasons if any discrepancies were found, and an explicit acceptance or rejection status verdict for the submitted refund receipt.","failureModes":["Receipt object exceeds 128 properties limit — request rejected","Malformed or missing receipt field — validation cannot complete","Ambiguous or unrecognizable receipt structure — mismatch reasons returned with rejection","Upstream computation error — internal server error response","Receipt with no recognizable identifier or amount fields — rejection with explanation"],"whenToPreferThis":"Use this endpoint when operating in an x402 payment or agent delivery workflow and you need an in-memory, stateless validation of a refund receipt before accepting or paying. Prefer this over manual inspection when you need normalized evidence and explicit accept/reject verdicts without retaining any data externally. It is particularly useful when the receipt metadata is caller-supplied and potentially untrusted.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:23.895Z","isFirstParty":false,"canonicalSlug":"x402-refund-receipt-check-8e518531"}