{"uid":"cap_UsFTV6eeLvwaXpBlqM-_Y","slug":"spendpreflight-usdc-receipt-verification-9c739f41","name":"SpendPreflight USDC Receipt Verification","description":"SpendPreflight — trust and verification tools for stablecoin payments, built for AI agents and the people who run them. Verify a native Base USDC transfer by tx_hash (optional log_index), or exact pay_to + decimal amount + past start/end (max 90 days). Ambiguous matches fail without charge. Signed observation, OFAC flags, confirmations and printable HTML. Not invoice ownership or finality proof.","url":"https://api.spendpreflight.com/v1/books/receipt?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"end":{"type":"string","format":"date-time"},"start":{"type":"string","format":"date-time"},"amount":{"type":"string","description":"USDC decimal string, at most 6 decimal places"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"tx_hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"log_index":{"type":"integer","maximum":1000000,"minimum":0}}},"responseSchema":null,"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_hS8qTmC7Q4hWfC7Xl3qD6","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":"Verifies a native Base USDC transfer by transaction hash or pay-to address/amount/date range and returns a signed receipt with OFAC flags, confirmation count, and printable HTML.","exampleAgentPrompt":"Can you verify that the USDC payment with transaction hash 0xabc123...def456 on Base actually went through and check if there are any OFAC flags on it? I need a signed receipt I can print.","exampleUseCases":[{"title":"Agent payment confirmation before service delivery","prompt":"Before I unlock the premium content, verify that the USDC payment of 25.00 was received at wallet 0xAbCd1234567890abcdef1234567890abcdef1234 — the tx hash is 0x9f8e7d6c5b4a3210fedcba9876543210fedcba9876543210fedcba9876543210fe. Show me the confirmation count and any OFAC issues."},{"title":"Freelancer proof-of-payment receipt","prompt":"I need a printable receipt proving I received a 500 USDC payment at my Base wallet 0xDeAdBeEf1234567890abcdef1234567890abcdef between January 1 and January 31, 2025. Can you pull that and check for sanctions flags?"},{"title":"Automated invoice reconciliation audit","prompt":"Check whether a 12.50 USDC transfer was sent to 0x1111222233334444555566667777888899990000 sometime between March 10 and March 15, 2025, and give me the signed observation so I can reconcile it against our records."}],"resultDescription":"Returns a signed observation confirming whether the transfer was found and matched, OFAC/sanctions screening flags for the addresses involved, the number of on-chain confirmations, and a printable HTML receipt. Ambiguous matches (multiple transfers fitting the criteria) result in a failure response without charge.","failureModes":["Ambiguous match — multiple transfers match the pay_to/amount/date range criteria; call fails with no charge","Transaction not found — tx_hash does not exist on Base or is not a USDC transfer","Date range exceeds 90 days — start/end window too wide","Amount format invalid — more than 6 decimal places provided","OFAC flag present — transfer involves a sanctioned address; receipt still returned with flag","Network/RPC timeout — Base node unavailable; transient error"],"whenToPreferThis":"Use this endpoint when you need cryptographic assurance that a specific native Base USDC transfer occurred, especially in agentic payment workflows where you must confirm receipt before taking an action. Prefer it over generic blockchain explorers when you also need OFAC/sanctions screening, a signed observation for auditability, or a human-readable printable HTML receipt. It is purpose-built for AI agents operating x402 payment flows on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:30:40.597Z","isFirstParty":false,"canonicalSlug":"spendpreflight-usdc-receipt-verification-9c739f41"}