{"uid":"cap_f-tc9rsMF1qd4QUZOrZEE","slug":"402utils-usdc-transaction-receipt-verifier-757d1a22","name":"402utils USDC Transaction Receipt Verifier","description":"Verify on-chain that a transaction is the USDC payment you expected. Pass ?tx=0x… plus optional ?expectedPayTo=0x… and ?expectedAmount=0.01 (USD); ?network defaults to the deployment chain (base or base-sepolia). Decodes the tx's USDC Transfer logs and returns {verified, actualPayTo, actualAmount, asset, blockTime, confirmations, mismatch}. Unknown/unmined tx → 503 (unbilled). Add ?attest=1 for a signed receipt.","url":"https://402utils.com/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":["tx"],"properties":{"tx":{"type":"string","description":"Transaction hash, 0x + 64 hex (required)."},"attest":{"type":"string","description":"Set to 1 for an Ed25519-signed attestation of the result (audit trail)."},"network":{"type":"string","description":"base | base-sepolia | eip155:8453 | eip155:84532. Defaults to the deployment chain."},"expectedPayTo":{"type":"string","description":"Address the USDC should have been sent to (optional)."},"expectedAmount":{"type":"string","description":"Expected USDC amount in USD, e.g. 0.01 (optional)."}},"description":"Query string only."}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["verified","tx","network","txStatus","asset","transfers"],"properties":{"tx":{"type":"string"},"asset":{"type":"string","description":"USDC contract on this network."},"network":{"type":"string","description":"CAIP-2 chain id the receipt was read on."},"explorer":{"type":"string"},"mismatch":{"type":"array","items":{"type":"string"},"description":"Present when verified=false: which expectations failed (payTo, amount, no_usdc_transfer, reverted)."},"txStatus":{"enum":["success","reverted"],"type":"string"},"verified":{"type":"boolean","description":"True only if a matching USDC Transfer was found and every expectation held."},"blockTime":{"type":["string","null"],"format":"date-time"},"transfers":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"amount":{"type":"string","description":"USD."}}},"description":"Every USDC Transfer in the tx, in log order."},"actualPayTo":{"type":["string","null"],"description":"Recipient of the matched (or largest) USDC Transfer, EIP-55 checksummed."},"assetSymbol":{"type":"string"},"attestation":{"type":"object","properties":{"alg":{"type":"string","const":"Ed25519"},"sig":{"type":"string","description":"base64url Ed25519 signature over the canonical JSON of payload."},"payload":{"type":"object","properties":{"ts":{"type":"string","format":"date-time"},"kid":{"type":"string","description":"Key id — matches a key in the .well-known document."},"endpoint":{"type":"string"},"resultSha256":{"type":"string","description":"SHA-256 of the canonical JSON of the result (attestation excluded)."}}}},"description":"Present only with ?attest=1. Ed25519 signature over the canonical result; verify against /.well-known/402utils-attestation.json."},"blockNumber":{"type":["integer","null"]},"actualAmount":{"type":["string","null"],"description":"USDC amount of that transfer, in USD."},"confirmations":{"type":["integer","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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":{"p10Cents":"0.3000","medianCents":"0.3000","p90Cents":"0.3000","minCents":"0.3000","maxCents":"0.3000","p95Cents":"0.3000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mnL5KqVnn7uc__wd2Setd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies on-chain that a given transaction hash represents the expected USDC payment, returning transfer details, confirmation count, and optional signed attestation.","exampleAgentPrompt":"Can you verify that transaction 0x3a7f...d9e2 on Base is a valid USDC payment of $0.01 to address 0xABC...123 and get a signed attestation receipt for our records?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: verified (boolean indicating if all expectations matched), actualPayTo (recipient address found in logs), actualAmount (USD amount transferred), asset (USDC contract address), blockTime (ISO timestamp), confirmations (integer), txStatus (success or reverted), transfers (array of all USDC Transfer log entries in the tx), mismatch (array of strings describing any failed expectations), and optionally a signed Ed25519 attestation. Returns 503 if the transaction is unknown or not yet mined.","failureModes":["Transaction not yet mined or unknown → 503 response (unbilled)","Transaction reverted on-chain → verified=false with mismatch=[reverted]","Wrong recipient address → verified=false with mismatch=[payTo]","Wrong amount → verified=false with mismatch=[amount]","No USDC Transfer event in the transaction → verified=false with mismatch=[no_usdc_transfer]","Invalid transaction hash format → 4xx error","Unsupported network specified → error response"],"whenToPreferThis":"Use this endpoint when you need to programmatically confirm that a specific transaction hash represents a valid USDC payment matching expected parameters (recipient, amount) on Base or Base Sepolia. Ideal for post-payment verification workflows, x402 payment receipt validation, audit trails requiring signed attestations, and any automation that must gate on confirmed crypto payment before proceeding. Prefer over generic block explorers when you need structured JSON output and optional cryptographic attestation rather than human-readable pages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:49:00.164Z","isFirstParty":false,"canonicalSlug":"402utils-usdc-transaction-receipt-verifier-757d1a22"}