{"uid":"cap_0AANGsCukVglcBUBTlaaD","slug":"revenue-ghost-evidence-analyzer-6e7ef5ca","name":"Revenue Ghost Evidence Analyzer","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/revenue-ghost-evidence?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"array","items":{"type":"object","required":["id","subject","meter","units","unit_price_usd"]},"maxItems":200,"minItems":1},"period":{"type":"string","description":"YYYY-MM"},"invoices":{"type":"array","items":{"type":"object","required":["id","usage_id","billed_usd"]},"maxItems":200},"payments":{"type":"array","items":{"type":"object","required":["id","invoice_id","amount_usd","status"]},"maxItems":200}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"revenue_ghost_evidence","cases":[{"meter":"api_calls","subject":"machine-operator-1","usage_id":"usage-101","payment_ids":["payment-101"],"expected_usd":"1600.00","invoiced_usd":"100.00","net_paid_usd":"80.00","invoice_line_ids":["line-101"],"candidate_unsettled_usd":"20.00","candidate_uninvoiced_usd":"0.00","possible_overbilling_usd":"0.00","possible_overpayment_usd":"0.00","candidate_underbilled_usd":"1500.00","fractional_cent_truncated":false}],"period":"2026-09","case_count":1,"duplicates":{"usage":[],"invoices":[],"payments":[]},"limitations":["Caller-supplied snapshots only; no provider/bank/on-chain authentication.","Not evidence of a legally recoverable debt or actual third-party demand.","No funds moved, refunds issued, claims submitted or buyer wallets signed."],"usage_count":1,"invoice_count":1,"payment_count":1,"source_sha256":"5cc360f183aaeb58ee37bbfd934cdb90a8de0d00c5523c495649b40d3fa62a46","unmatched_invoices":[],"unmatched_payments":[],"recommended_next_steps":["Independently verify original immutable usage and paid ledger exports.","Check refunds, net terms, partial payments, taxes, credits and legitimate multi-line charges.","Reconcile each discrepancy with the billing provider before any collection or correction."],"revenue_gap_candidates_usd":"1520.00","possible_billing_exposure_usd":"0.00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"49.9","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":"$49.9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"49.9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"49.9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lO2tCgDd9n4ilPVNlHP8M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"49.9","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects revenue gaps, billing discrepancies, and unsettled amounts by reconciling usage, invoice, and payment records for a given billing period.","exampleAgentPrompt":"Can you check my September 2026 billing data for revenue ghosts — I have usage records showing 'api_calls' for machine-operator-1 with usage_id 'usage-101' at $1600 expected, one invoice for $100, and a payment of $80 — tell me what's uninvoiced, underbilled, or unsettled.","exampleUseCases":[{"title":"Detecting uninvoiced API usage","prompt":"I think some of our API usage from October 2026 was never invoiced — can you cross-reference our usage records against the invoices and payments we have and show me any revenue gaps or missing billing?"},{"title":"Auditing multi-subject billing discrepancies","prompt":"We have 50 usage records across 10 machine operators for September 2026, plus our invoice and payment exports — can you run a reconciliation and flag anything underbilled, unsettled, or duplicated?"},{"title":"Identifying overpayment or overbilling exposure","prompt":"Before we close out the August 2026 billing cycle, can you check our usage, invoice, and payment snapshots for any possible overbilling or overpayment so we can correct it before the next cycle?"}],"resultDescription":"Returns a JSON object with a list of discrepancy cases per meter/subject, each showing expected vs invoiced vs net paid amounts, uninvoiced and underbilled candidate figures, overbilling and overpayment exposure, duplicate detection results for usage/invoices/payments, unmatched invoice and payment IDs, a SHA-256 hash of the source data, recommended reconciliation steps, and a total revenue gap candidates sum — all clearly marked as caller-supplied-data analysis with no funds moved.","failureModes":["Missing required fields in usage, invoice, or payment objects causes validation failure","Providing more than 200 items in any array exceeds the maxItems limit","Misformatted period string (not YYYY-MM) may cause parsing errors","Unlinked IDs (invoice referencing nonexistent usage_id) result in unmatched record flags","No external authentication of data — results are advisory only, not legally verified","High price per call ($49.9 USDC) means misconfigured retries can be expensive"],"whenToPreferThis":"Choose this endpoint when you need to systematically reconcile usage metering records against invoices and payments to surface revenue gaps, underbilling, or unsettled amounts for a specific billing period. It is especially useful for autonomous agent billing pipelines where usage is metered by subject and meter type. Prefer this over manual spreadsheet reconciliation or generic accounting APIs when you need structured case-by-case discrepancy output with recommended next steps and duplicate detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:29.211Z","isFirstParty":false,"canonicalSlug":"revenue-ghost-evidence-analyzer-6e7ef5ca"}