{"uid":"cap_ElesIJ6DDCTcr9N-f8Qjo","slug":"bounty-btnomb-com-c82031b2","name":"Bounty BTNOMB Full Description Unlock","description":"Unlock full bounty description","url":"https://bounty.btnomb.com/api/bounties/idea_023/full?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"id":"idea_023"},"response":{"id":"idea_023","tags":[],"title":"Agent Billing & Metering API — Drop-in usage tracking and x402 micropayments for any AI agent","votes":0,"status":"REQUIRES_RESUBMISSION","wallet":"0xC7F6...875e","bountyUsd":150,"claimedBy":"0x23bB...66DE","submitted_at":"2026-04-18T19:56:57.413Z","submissionUrl":"https://github.com/macs-org/agentic-work/pull/2","platformCutPct":5,"fullDescription":"Build an autonomous Agent Billing & Metering API with the following specs:\n\nPRODUCT OVERVIEW:\nA drop-in monetization layer for AI agents. Any agent can integrate this API to track usage per customer, gate endpoints behind x402 micropayments, set spending limits, and auto-generate invoices. Removes all human involvement from the billing loop.\n\nCORE FEATURES:\n- POST /meter/event — log a usage event (agent_id, customer_id, event_type, quantity)\n- GET /meter/usage — query usage by agent, customer, or time range\n- POST /gate — x402 payment gate: returns 402 if unpaid, 200 if payment confirmed\n- POST /invoice/generate — auto-generate a usage-based invoice for a customer\n- Per-agent API key management\n- Spending limits: set max spend per customer per period, auto-block when exceeded\n- Dashboard: usage heatmaps, revenue per agent, top customers\n\nPRICING MODEL:\n- Free tier: 1 agent, 1,000 events/mo\n- Starter: $29/mo — 5 agents, 50,000 events/mo\n- Pro: $99/mo — unlimited agents, 1M events/mo, invoice generation\n- Enterprise: $399/mo — custom limits, SLA, dedicated support\n\nACCEPTANCE CRITERIA:\n- All endpoints functional and documented\n- x402 payment gate working end-to-end\n- Usage metering tracked accurately per agent/customer\n- Invoice generation producing correct output\n- Spending limits enforced correctly\n- Dashboard live with usage and revenue stats\n- Stripe or x402 payment integration for plan billing\n\nTECHNICAL NOTES:\n- Python backend (FastAPI preferred)\n- Full OpenAPI spec at /docs\n- Host on btnomb.com subdomain\n- Postgres for event storage\n- Compatible with Base L2 x402 payment standard","unlock_refund_on_claim":true}},"exampleRequest":{"id":"idea_023"},"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9yFAtwlXlmhSkQfN4BQOm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Unlocks and returns the full description of a specific bounty idea (idea_023) behind a micropayment paywall","exampleAgentPrompt":"Can you unlock and show me the full description for bounty idea 023 on btnomb.com? I want to see all the requirements and details.","exampleUseCases":null,"resultDescription":"The full, ungated bounty description for idea_023, including complete requirements, scope, and any other details that were hidden behind the $0.10 USDC paywall.","failureModes":["Payment not provided or rejected — 402 response with payment required","Invalid or expired payment credentials","Bounty ID not found — 404 response","Service unavailable — 503 response","Insufficient USDC balance to complete micropayment"],"whenToPreferThis":"Use this endpoint when you specifically need to see the complete, unredacted description of bounty idea_023 on btnomb.com and are willing to pay $0.10 USDC via x402 micropayment to access it.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:31:32.591Z","isFirstParty":false,"canonicalSlug":"bounty-btnomb-com-c82031b2"}