{"uid":"cap_iQ4FsN0tBD4TtYoqT11I2","slug":"x402-delivery-receipt-verifier-874e8c9f","name":"x402 Delivery Receipt Verifier","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/receipt-verify?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"],"type":"string"},"queryParams":{"type":"object","required":["receipt"],"properties":{"receipt":{"type":"string"},"body_base64":{"type":"string"},"expected_sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tx":null,"path":null,"error":"malformed receipt","payer":null,"valid":false,"checks":{"body":null,"scheme":false,"signature":false,"report_hash":false},"method":null,"scheme":null,"signer":"0x1E04f5046500e5369E17AF993Dc60aC29D83efc9","network":null,"product":"scanpay.receipt_verify","price_usd":0.001,"report_hash":"0x44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a","body_matches":null,"output_sha256":null,"expected_signer":"0x1E04f5046500e5369E17AF993Dc60aC29D83efc9"}},"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_IN9-0G2uSDjIjPYQ9KpLG","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":"Verifies a ScanPay x402 delivery receipt by checking EIP-191 signature, canonical hash, and output SHA-256 integrity","exampleAgentPrompt":"Can you verify this x402 delivery receipt for me and confirm that the EIP-191 signature is valid, the canonical hash checks out, and the output SHA-256 matches the expected hash? Here's the receipt string: <receipt_value>.","exampleUseCases":[{"title":"Verifying AI agent payment receipt","prompt":"I just got back a receipt from a ScanPay x402 API call my agent made — can you verify the receipt string is authentic, confirm who signed it, and check that the output SHA-256 matches?"},{"title":"Auditing paid payload integrity","prompt":"Before I trust this x402 API response, please verify the delivery receipt, check that the body hash matches the expected SHA-256 I have on file, and tell me if the signature is valid."},{"title":"Confirming signer identity on receipt","prompt":"I need to confirm that this x402 receipt was signed by the expected ScanPay signer address — can you run verification on the receipt and tell me the signer, whether the scheme checks out, and if the report hash is correct?"}],"resultDescription":"Returns a JSON object with: a `valid` boolean, per-check breakdown (`scheme`, `signature`, `body`, `report_hash`), the recovered EIP-191 `signer` address, `expected_signer`, `report_hash`, `output_sha256`, `body_matches`, `payer`, `tx`, `path`, `method`, `scheme`, `network`, and `product` fields. On failure, includes an `error` message describing what was malformed.","failureModes":["Malformed receipt string returns valid=false with error 'malformed receipt' and all checks as null/false","Missing required `receipt` query parameter returns an error response","Invalid or mismatched SHA-256 causes body_matches=false and check.body=false","Signature mismatch causes checks.signature=false and signer may differ from expected_signer","Network or upstream timeout from the Cloudflare Worker edge function"],"whenToPreferThis":"Use this endpoint when you need cryptographic proof that an x402 delivery receipt is authentic — specifically when you need EIP-191 signature recovery, canonical hash validation, and SHA-256 output integrity checked in a single call. Prefer this over manual on-chain lookups when operating in an AI agent context with ScanPay x402 pay-per-call APIs and need fast, cheap ($0.001 USDC) programmatic receipt auditing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:10.698Z","isFirstParty":false,"canonicalSlug":"x402-delivery-receipt-verifier-874e8c9f"}