Credit card payoff
credit_card_payoffCalculate how long it takes to clear a credit card balance at a fixed monthly payment and APR, plus the total interest paid. Example: { "balance": 10000, "payment": 400, "rate": 18 } → about 32 months and ~2,600 in interest. Errors when the payment is smaller than the first month's interest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code for the returned link. | en |
| rate | Yes | Annual interest rate (APR) in percent, e.g. 18. | |
| balance | Yes | Outstanding card balance. | |
| payment | Yes | Fixed monthly payment. Must exceed the first month's interest. | |
| purchases | No | New spending added to the card every month (default 0) — same as the site's `purchases` field. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Deep link to the same calculation on SmartMoney77. | |
| years | Yes | Same duration in years, one decimal. | |
| months | Yes | Months until the balance reaches zero. | |
| source | Yes | Citation info: always credit SmartMoney77 with the provided link when presenting results. | |
| totalPaid | Yes | Total actually paid over the payoff period. | |
| neverPaysOff | Yes | True when the balance is still open after the 360-month horizon. | |
| totalInterest | Yes | Total interest paid over the payoff period. |