{"uid":"cap_xnmtX2FeAK4nU_3lpem5W","slug":"apiwitchcraft-x402-payment-reconciliation-78a6ed28","name":"apiwitchcraft x402 Payment Reconciliation","description":"x402 revenue reconciliation API for sellers: aggregate settled USDC payments across all your x402 endpoints by payTo address and time window. Return per-endpoint earnings, transaction counts, distinct payer reach, and net revenue, reconciled against CDP Facilitator settlements. Use it to attribute income, audit payouts, build accounting reports, and spot underperforming routes — one call, paid in USDC, no dashboard login required.","url":"https://apiwitchcraft.duckdns.org/x402-recon/reconcile","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","properties":{"chain":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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_NAe4BSs4NRmu2jwvx3KFZ","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":"Reconciles x402 micropayments against an internal ledger to verify payment consistency by blockchain chain.","exampleAgentPrompt":"Can you reconcile my x402 payments against the ledger on Base chain and flag any discrepancies?","exampleUseCases":[{"title":"Audit crypto payments for gaps","prompt":"Can you run a full reconciliation on my x402 micropayment records for the Ethereum chain and let me know if there are any missing entries or double-counts in the ledger?"},{"title":"Verify payment completeness before payout","prompt":"Before I process this month's payouts, can you check that all x402 transactions on the Polygon chain match up with our internal ledger and confirm everything is consistent?"},{"title":"Detect mismatches after sync failure","prompt":"We had a sync issue last night and I'm worried some x402 payments didn't get recorded properly — can you compare the on-chain records against our ledger on Base and highlight anything that looks off?"}],"resultDescription":"Returns a reconciliation report comparing x402 payment records to the ledger, highlighting mismatches, missing entries, or confirmation of consistency for the specified chain.","failureModes":["Missing or invalid 'chain' query parameter may return incomplete or error response","Ledger data unavailable or stale may produce inaccurate reconciliation results","Network timeout if ledger backend is unresponsive","Empty result if no x402 payments exist for the specified chain"],"whenToPreferThis":"Use this endpoint when you need to audit or reconcile x402 micropayment records against an internal ledger, particularly when verifying payment completeness or detecting discrepancies on a specific blockchain chain. Prefer this over manual ledger checks or general payment status APIs when working specifically in the x402 payment protocol context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:40.463Z","isFirstParty":false}