{"uid":"cap_UtvR7esONjdccoEQvw3X4","slug":"signaldesk-ai-payback-period-calculator-eb6ca16e","name":"SignalDesk AI Payback Period Calculator","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/finance/payback-period?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"inflows":{"type":"array","items":{"type":"number","maximum":1000000000000,"minimum":0,"description":"Amount in one consistent currency; floating-point calculation, not an accounting ledger."},"maxItems":1000,"minItems":1,"description":"Non-negative inflows."},"investment":{"type":"number","maximum":1000000000000,"minimum":0,"description":"Amount in one consistent currency; floating-point calculation, not an accounting ledger."}}},"responseSchema":{"type":"json","example":{"notice":"Calculation from supplied inputs only; no tax, investment or lending advice.","periods":2.5,"recovered":true}},"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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sU-EKGeWcsaZ_twaQv4GQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the payback period (number of periods to recover an investment) given an initial investment amount and a series of periodic inflows","exampleAgentPrompt":"I put $50,000 into a project and expect monthly inflows of $8,000, $12,000, $15,000, $18,000, and $20,000 — can you calculate the payback period for me?","exampleUseCases":[{"title":"Startup equipment ROI check","prompt":"We bought $120,000 of manufacturing equipment and our monthly revenue from it is projected to be $18,000, $22,000, $25,000, $30,000, $30,000, and $35,000. How many months before we pay it back?"},{"title":"Real estate rental payback analysis","prompt":"I'm evaluating a rental property that cost $200,000 and will generate net rent of $2,500, $2,500, $2,800, $3,000, $3,000, $3,200, and $3,200 per month — what's the payback period?"},{"title":"Marketing campaign cost recovery","prompt":"We spent $15,000 on a marketing campaign and it's bringing in $3,000, $4,500, $5,000, $6,000, and $4,000 in incremental revenue each month — calculate how many months until we've recovered the spend."}],"resultDescription":"Returns a JSON object with: the number of periods (decimal) to recover the investment ('periods'), a boolean indicating whether full recovery was achieved within the provided inflows ('recovered'), and a disclaimer notice that the result is a floating-point calculation from supplied inputs only and does not constitute tax, investment, or lending advice.","failureModes":["Missing 'investment' field returns validation error","Empty or missing 'inflows' array returns validation error","Inflows array exceeding 1000 items rejected","Investment or inflow values exceeding 1,000,000,000,000 rejected","Negative inflow values rejected","Payment not made via x402 returns 402 Payment Required","If inflows never cover the investment, 'recovered' is false and 'periods' may reflect partial progress"],"whenToPreferThis":"Use this endpoint when you need a fast, serverless computation of payback period from a discrete list of periodic cash inflows against a single upfront investment. Ideal for lightweight agent workflows that need a quick capital-recovery estimate without a full financial modeling suite. Prefer this over building your own loop logic when inflows are already known as an array and you want a single authoritative floating-point result with bounded execution cost ($0.001 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:10.342Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-payback-period-calculator-eb6ca16e"}