{"uid":"cap_6uBZMWZ2j_cAK2muT6_7e","slug":"usdc-payment-verification-endpoint-74246c72","name":"USDC Payment Verification Endpoint","description":"Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.","url":"https://ai-policy-kit.moneymaker-ai.workers.dev/api/usdc-payment?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":{"to":{"type":"string","description":"recipient address (optional)"},"tx":{"type":"string","description":"Base tx hash"},"min":{"type":"string","description":"minimum USDC (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tx":"0xa991831735cbf6dcbaaca0e23dd97578d7dc9a05b66c0244fa7d5f913e84fa07","block":52769238,"found":true,"network":"eip155:8453","success":true,"min_usdc":1,"meets_min":true,"confirmations":7334,"received_usdc":1,"usdc_transfers":[{"to":"0x5b4Ca59741DE12DC212982b342392a063492a021","from":"0xfc1E390266F3B29179b5D63a7937a689D1e5279a","usdc":1,"atomic":"1000000"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E1Exo6wTVmZqlkLG7Eajt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a USDC payment transaction on Base by checking a transaction hash for confirmation, amount, and recipient details","exampleAgentPrompt":"Can you verify that USDC payment transaction 0xa991831735cbf6dcbaaca0e23dd97578d7dc9a05b66c0244fa7d5f913e84fa07 on Base went through and confirm it received at least 1 USDC?","exampleUseCases":[{"title":"Gating access after crypto payment","prompt":"A user says they paid 2 USDC to unlock premium content — can you verify transaction 0xa991831735cbf6dcbaaca0e23dd97578d7dc9a05b66c0244fa7d5f913e84fa07 on Base actually sent at least 2 USDC to wallet 0x5b4Ca59741DE12DC212982b342392a063492a021?"},{"title":"Confirming order payment before fulfillment","prompt":"Before I ship this order, check that the customer's Base transaction 0xa991831735cbf6dcbaaca0e23dd97578d7dc9a05b66c0244fa7d5f913e84fa07 was confirmed and transferred at least 1 USDC to my wallet."},{"title":"Auditing a payment for dispute resolution","prompt":"I need to settle a payment dispute — look up transaction 0xa991831735cbf6dcbaaca0e23dd97578d7dc9a05b66c0244fa7d5f913e84fa07 on Base and tell me the exact USDC amount sent, who it went to, and how many confirmations it has."}],"resultDescription":"Returns a JSON object including the transaction hash, block number, success status, network ID, number of confirmations, total USDC received, whether the amount meets the specified minimum, and an array of individual USDC transfer records each containing sender address, recipient address, USDC amount, and atomic units.","failureModes":["Transaction hash not found on Base — returns found: false","Transaction has zero confirmations or is still pending — may return success: false","USDC amount below specified minimum — returns meets_min: false","Invalid or malformed transaction hash — likely returns an error or empty result","Network mismatch if transaction is on a different chain than Base (eip155:8453)"],"whenToPreferThis":"Use this endpoint when you need to confirm that a specific Base network USDC payment transaction occurred, was confirmed, and optionally met a minimum payment threshold — especially useful for x402-style payment-gated workflows where you need on-chain payment proof before granting access or fulfilling an action.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:36:41.990Z","isFirstParty":false,"canonicalSlug":"usdc-payment-verification-endpoint-74246c72"}