# SignalDesk AI Payback Period Calculator

> SignalDesk AI Payback Period Calculator is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Calculates the payback period (number of periods to recover an investment) given an initial investment amount and a series of periodic inflows

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/finance/payback-period?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-payback-period-calculator-eb6ca16e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UtvR7esONjdccoEQvw3X4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability signaldesk-ai-payback-period-calculator-eb6ca16e -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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).

## Known failure modes

- 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

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "notice": "Calculation from supplied inputs only; no tax, investment or lending advice.",
  "periods": 2.5,
  "recovered": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-payback-period-calculator-eb6ca16e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
