{"uid":"cap_O3lmXS6eqSbLzEASuLIJD","slug":"tollex-x402-receipt-verifier-603b97ac","name":"Tollex x402 Receipt Verifier","description":"Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.","url":"https://api.tollex.org/tools/x402_verify_receipt?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keysUrl":{"type":"string","pattern":"^https?://","examples":["https://merchant.example/v1/quote"],"maxLength":2048},"receipt":{"type":"object","additionalProperties":true},"trustedSigners":{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"maxItems":10}}},"responseSchema":{"type":"json","example":{"tool":{"id":"x402_verify_receipt","version":"1.0.0","provider":"tollex.robinhood-chain"},"result":{"valid":true,"reasons":[],"recovered":"0x69d778C105b7f94Bde775d7ae94F1daa56DAA88F"},"evidence":[],"untrustedOutput":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0079","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.0079/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l-4IDBBNeysLdmAxC9Mvt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0079","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies and validates an x402 payment receipt against a merchant's keys URL and a set of trusted signer addresses, returning a signed confirmation of payment validity.","exampleAgentPrompt":"I received a payment receipt from an agent that says it paid via x402 — can you verify it's legit using the merchant keys at https://merchant.example/v1/quote and check it against the trusted signer 0xAbC1234567890abcdef1234567890abcdef123456?","exampleUseCases":[{"title":"Gating API access behind x402 payment","prompt":"Before I unlock this premium data endpoint for the requesting agent, verify its x402 receipt using the keys at https://api.myservice.com/v1/keys and confirm the signer matches 0xDeAdBeEf1234567890abcdef1234567890abcdef."},{"title":"Reconciling uncertain micropayment","prompt":"An agent paid me via x402 but I'm not sure the receipt is genuine — can you validate it against https://merchant.tollex.org/v1/quote and check it was signed by either 0xAaaa1111111111111111111111111111111111aa or 0xBbbb2222222222222222222222222222222222bb?"},{"title":"Auditing agent payment trail","prompt":"We got a batch of x402 receipts from autonomous agents and need to confirm one of them is legitimately signed — verify this receipt against the merchant's keys at https://payments.myplatform.io/keys and trusted signer 0xCccc3333333333333333333333333333333333cc."}],"resultDescription":"A verification result indicating whether the receipt is valid, including a signed confirmation from Tollex, details about which trusted signer authenticated the payment, and any reconciliation notes for uncertain or borderline payment states.","failureModes":["Invalid or unreachable keysUrl returns a fetch or DNS error","Receipt object malformed or missing required fields returns a validation error","No trusted signer matches the receipt signature returns an invalid-signer error","Network timeout reaching the merchant keys endpoint","Receipt already expired or nonce reused returns a replay-attack error","Unsupported receipt schema version"],"whenToPreferThis":"Use this endpoint when you are a merchant or service provider that has received an x402 payment receipt from an autonomous agent and need to cryptographically verify it before delivering your service. It is ideal for real-time access gating, post-payment reconciliation, and audit trails in agent-to-agent commerce. Prefer this over manual on-chain verification when you need policy-checked, signed confirmation with uncertain-payment handling baked in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:10.679Z","isFirstParty":false,"canonicalSlug":"tollex-x402-receipt-verifier-603b97ac"}