{"uid":"cap_17c56ihVLMoYz8th3KbXX","slug":"x402-signed-receipt-delivery-confidence-scorer-bbad6b10","name":"x402 Signed Receipt Delivery Confidence Scorer","description":"Choose Blockchain Money Map for human-readable public blockchain reports, x402-paid agent API services, agent workflow packs, custom agent builds, or an Agent Radar pilot preview.","url":"https://api.blockchainmoneymap.com/api/x402/x402-signed-receipt-delivery-confidence-scorer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["check"]},"facts":{"type":"object","required":["offer_present","receipt_present","delivery_proof_present","resource_label","amount","currency"],"properties":{"amount":{"type":"number"},"network":{"type":"string","maxLength":500},"currency":{"type":"string","maxLength":500},"signed_at":{"type":"string","maxLength":500},"valid_until":{"type":"string","maxLength":500},"offer_present":{"type":"boolean"},"response_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"},"resource_label":{"type":"string","maxLength":500},"receipt_present":{"type":"boolean"},"delivery_proof_present":{"type":"boolean"}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"reference_facts":{"type":"object","required":["offer_present","receipt_present","delivery_proof_present","resource_label","amount","currency"],"properties":{"amount":{"type":"number"},"network":{"type":"string","maxLength":500},"currency":{"type":"string","maxLength":500},"signed_at":{"type":"string","maxLength":500},"valid_until":{"type":"string","maxLength":500},"offer_present":{"type":"boolean"},"response_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"},"resource_label":{"type":"string","maxLength":500},"receipt_present":{"type":"boolean"},"delivery_proof_present":{"type":"boolean"}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k_-acjw5lPRFNxuM5mI5L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores the confidence that a signed x402 payment receipt correctly proves delivery of a paid resource, by checking offer, receipt, and delivery proof facts against optional reference facts.","exampleAgentPrompt":"Score the delivery confidence for this x402 transaction: the offer is present, the signed receipt is present, there's a delivery proof, the resource is 'premium-analytics-report', the amount is 0.01 USDC on Base, signed at 2025-01-15T10:00:00Z, valid until 2025-01-15T10:05:00Z, and the response hash is sha256:a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2.","exampleUseCases":[{"title":"Verify agent API call was paid and delivered","prompt":"I just made an x402 micropayment of 0.01 USDC for the 'market-data-feed' resource on Base — offer was present, receipt was signed, and I have a delivery proof with hash sha256:deadbeef00112233deadbeef00112233deadbeef00112233deadbeef00112233. Can you score how confident we should be that delivery actually happened?"},{"title":"Detect receipt tampering against reference","prompt":"Compare these two sets of receipt facts and score whether the current receipt for 'kyc-report' (0.05 USDC, Ethereum, offer present, receipt present, delivery proof present) matches my reference facts — let me know the confidence that delivery is legitimate and nothing has changed."},{"title":"Audit historical x402 payment receipt","prompt":"I need to audit an old x402 transaction: resource label is 'blockchain-wallet-report', amount 0.01 USDC, signed at 2024-11-01T08:30:00Z, valid until 2024-11-01T08:35:00Z, offer was present, receipt was present, but there was no delivery proof. Score the delivery confidence so I can flag it if it's suspicious."}],"resultDescription":"A JSON response containing a delivery confidence score and assessment indicating how reliably the provided offer, receipt, and delivery proof facts demonstrate that a paid x402 resource was successfully delivered, potentially with comparison against reference facts.","failureModes":["Missing required facts fields (offer_present, receipt_present, delivery_proof_present, resource_label, amount, currency) cause validation errors","Invalid response_hash format (not matching sha256:[64 hex chars]) causes schema rejection","mode field missing or not set to 'check' causes request rejection","Mismatched facts vs reference_facts may yield low confidence score rather than an error","Payment failure (x402) returns 402 status requiring USDC payment before scoring","Network or currency strings exceeding 500 characters cause input rejection"],"whenToPreferThis":"Use this endpoint when you need a programmatic, scored assessment of whether an x402 micropayment receipt genuinely proves resource delivery — particularly when running automated agent pipelines that pay for API responses and need to verify they received what they paid for. Prefer this over manual inspection when you have structured receipt facts and optionally reference facts to compare against, and need a confidence score rather than a simple boolean check.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:44:34.947Z","isFirstParty":false,"canonicalSlug":"x402-signed-receipt-delivery-confidence-scorer-bbad6b10"}