{"uid":"cap_A7QjZiKzI-FvCNNC5VGHP","slug":"delx-x402-refund-receipt-check-fc5438f3","name":"Delx X402 Refund Receipt Check","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/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_diD05G16wYPOV9_JtOV2n","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 an X402 refund receipt object by checking its shape, required fields, and structural correctness without retaining any data.","exampleAgentPrompt":"Can you check if this X402 refund receipt is valid and tell me if any required fields are missing? Here's the receipt: {status: 'queued', refund_id: 'refund-1', amount_raw: '1000', payment_id: 'pay-1'}.","exampleUseCases":[{"title":"Diagnosing a rejected refund receipt","prompt":"My X402 refund is failing — can you validate this receipt object and tell me which fields are missing or malformed? Receipt has refund_id 'refund-99', payment_id 'pay-42', amount_raw '5000', status 'queued'."},{"title":"Pre-flight check before submitting refund","prompt":"Before I submit this refund request on-chain, can you verify that my receipt object is properly shaped and has all the required X402 fields? I want to catch any issues now."},{"title":"Automated receipt audit in agent pipeline","prompt":"I'm building an agent that processes X402 refunds — can you run a structural check on each receipt coming through and flag any that are missing fields or have the wrong shape?"}],"resultDescription":"Returns a JSON object indicating whether the receipt passed validation (status: pass/fail), whether the shape is valid (shape_valid: boolean), a list of any missing fields, the original receipt contents echoed back, evidence metadata including input SHA256 hash, a flag confirming no data was retained, and a count of zero external calls made — confirming purely in-memory processing.","failureModes":["Receipt object exceeds 128 properties (maxProperties limit), causing rejection","Missing or malformed receipt object in request body returns validation error","Malformed JSON in request body causes parse failure","shape_valid false with populated missing_fields list when required receipt fields are absent","Network or service unavailability returns HTTP error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, privacy-preserving structural check on an X402 refund receipt before submitting or processing it — especially in agentic pipelines where you want cryptographic evidence (SHA256 of input) that the data was processed in-memory without retention. Prefer this over manual schema validation when you need verifiable, auditable confirmation of receipt shape correctness in a pay-per-use model with no signup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:01.489Z","isFirstParty":false,"canonicalSlug":"delx-x402-refund-receipt-check-fc5438f3"}