{
  "input": {
    "currency": "USD",
    "debts": [
      {
        "balance": 5000,
        "annualRate": 18,
        "promoRate": 0,
        "promoEndMonth": "",
        "minimumType": "fixed",
        "minimumPayment": 100,
        "minimumPercent": 2,
        "transferFeePercent": 0
      },
      {
        "balance": 2000,
        "annualRate": 12,
        "promoRate": 0,
        "promoEndMonth": "",
        "minimumType": "fixed",
        "minimumPayment": 50,
        "minimumPercent": 2,
        "transferFeePercent": 0
      }
    ],
    "strategy": "avalanche",
    "startMonth": "2026-09",
    "monthlyBudget": 400,
    "availableCash": 0,
    "emergencyCashFloor": 0,
    "maxMonths": 600,
    "consolidationRate": 8,
    "consolidationMonths": 36,
    "consolidationFeePercent": 0
  },
  "result": {
    "value": 20,
    "summary": "Debt-free month under the entered rates, minimum payments and cash floor.",
    "metrics": {
      "totalInterest": 990.03,
      "totalFees": 0,
      "remainingBalance": 0,
      "minimumPaymentShortfall": 0,
      "initialCashUsed": 0,
      "emergencyCashRemaining": 0,
      "avalancheMonths": 20,
      "avalancheInterest": 990.03,
      "snowballMonths": 21,
      "snowballInterest": 1128.75,
      "consolidationMonths": 19,
      "consolidationInterest": 468.24,
      "consolidationFees": 0
    },
    "rows": [
      {
        "month": 1,
        "payment": 400,
        "interest": 95,
        "remainingBalance": 6695
      },
      {
        "month": 2,
        "payment": 400,
        "interest": 90.58,
        "remainingBalance": 6385.58
      },
      {
        "month": 3,
        "payment": 400,
        "interest": 86.09,
        "remainingBalance": 6071.66
      },
      {
        "month": 4,
        "payment": 400,
        "interest": 81.53,
        "remainingBalance": 5753.19
      },
      {
        "month": 5,
        "payment": 400,
        "interest": 76.91,
        "remainingBalance": 5430.1
      },
      {
        "month": 6,
        "payment": 400,
        "interest": 72.22,
        "remainingBalance": 5102.31
      },
      {
        "month": 7,
        "payment": 400,
        "interest": 67.46,
        "remainingBalance": 4769.77
      },
      {
        "month": 8,
        "payment": 400,
        "interest": 62.63,
        "remainingBalance": 4432.4
      },
      {
        "month": 9,
        "payment": 400,
        "interest": 57.73,
        "remainingBalance": 4090.13
      },
      {
        "month": 10,
        "payment": 400,
        "interest": 52.76,
        "remainingBalance": 3742.89
      },
      {
        "month": 11,
        "payment": 400,
        "interest": 47.71,
        "remainingBalance": 3390.6
      },
      {
        "month": 12,
        "payment": 400,
        "interest": 42.59,
        "remainingBalance": 3033.19
      },
      {
        "month": 13,
        "payment": 400,
        "interest": 37.4,
        "remainingBalance": 2670.59
      },
      {
        "month": 14,
        "payment": 400,
        "interest": 32.13,
        "remainingBalance": 2302.72
      },
      {
        "month": 15,
        "payment": 400,
        "interest": 26.78,
        "remainingBalance": 1929.51
      },
      {
        "month": 16,
        "payment": 400,
        "interest": 21.36,
        "remainingBalance": 1550.86
      },
      {
        "month": 17,
        "payment": 400,
        "interest": 15.85,
        "remainingBalance": 1166.71
      },
      {
        "month": 18,
        "payment": 400,
        "interest": 11.67,
        "remainingBalance": 778.38
      },
      {
        "month": 19,
        "payment": 400,
        "interest": 7.78,
        "remainingBalance": 386.16
      },
      {
        "month": 20,
        "payment": 390.03,
        "interest": 3.86,
        "remainingBalance": 0
      }
    ],
    "unit": "months",
    "status": "ok"
  }
}