{"uid":"cap_ZCbJfQhoTqvBbnVIQ3Dqc","slug":"numora-payback-period-calculator-d18743a2","name":"Numora Payback Period Calculator","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numomo.vercel.app/api/financial/payback","method":"POST","headers":{},"bodySchema":{"type":"object","required":["cashflows","investment"],"properties":{"cashflows":{"type":"array"},"investment":{"type":"number"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_tWt8pbEJ4sQOea-n4GVFv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the payback period for an investment given a series of cash flows, returning how long it takes to recoup the initial investment.","exampleAgentPrompt":"I made an initial investment of $50,000 and expect cash flows of $10,000, $15,000, $18,000, $20,000, and $12,000 over the next five years — how long will it take to pay back the investment?","exampleUseCases":[{"title":"Capital project break-even analysis","prompt":"We're evaluating a $200,000 equipment purchase that's expected to generate cash flows of $40,000, $55,000, $60,000, $70,000, and $65,000 over five years. How many years until we break even on the investment?"},{"title":"Startup funding recovery timeline","prompt":"Our startup received $500,000 in seed funding and we're projecting cash flows of $80,000, $120,000, $150,000, $200,000, and $250,000 over the next five years. Calculate the payback period so we can report it to investors."},{"title":"Real estate investment payback","prompt":"I bought a rental property for $300,000 and expect net cash flows of $25,000 in year 1, $28,000 in year 2, $30,000 in year 3, $35,000 in year 4, and $38,000 in year 5. How long until the property pays for itself?"}],"resultDescription":"Returns a JSON object with a boolean success flag, a result object containing the computed payback period (typically expressed in periods/years, potentially including fractional periods), and a human-readable computation string describing what was calculated.","failureModes":["Missing required 'cashflows' array returns a validation error","Missing required 'investment' number returns a validation error","Empty cashflows array may result in an error or infinite payback period","Investment never fully recovered from provided cash flows may return null or infinity","Non-numeric values in cashflows array cause computation failure","Negative investment value may produce unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a pure, dependency-free payback period calculation without requiring IRR, NPV, or discounted cash flow analysis. Ideal for quick capital budgeting screening, agent workflows that need deterministic financial math with no external API dependencies, and scenarios where a simple break-even timeline (undiscounted) is sufficient. Use this over spreadsheet tools when you need a programmatic, API-accessible result with micropayment pricing per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:39:11.054Z","isFirstParty":false}