Credit Payoff
credit_payoffCredit-card and revolving-balance payoff in exact cents. Give a balance, an annual percentage rate, and a fixed payment (or a minimum that is the greater of a percent of the new balance and a floor). Returns the months to zero, total interest, total paid, and a yearly rollup. Interest each month is round-half-up of balance × APR / 12. The last payment is the remaining balance plus that month's interest. Refuses a payment that does not cover the interest. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/credit-payoff
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"balance": "<balance>",
"ratePct": "<ratePct>"
},
"name": "credit_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | First payment date YYYY-MM-DD. Later payments fall on the same day, clamped to the month end | |
| balance | Yes | Current balance, decimal | |
| payment | No | Fixed payment per month | |
| ratePct | Yes | Annual percentage rate, e.g. 19.99 | |
| minFloor | No | Minimum payment floor used with minPercent, default 0 | |
| minPercent | No | Instead of a fixed payment: percent of the new balance (after interest) |