Debt paydown history
get-debt-plan-history reports what a household has actually done about its
debt: how much it owed when the debts joined the Debt Center, what it owes now,
what it really paid, month by month, and where the current plan leads from
here. The Debt Center's progress view and the debt progress report are built on
it. AI assistants can read the same report with the MCP tool
get_debt_payoff_history,
which leaves out the projection's month-by-month timeline.
| Operation | Method and path | Scope |
|---|---|---|
get-debt-plan-history | GET /v1/workspaces/{workspaceID}/debt-plan/history | debt:read |
Nothing in the response is stored. It is worked out on every request from the debts' history in the plan, the account ledger and the plan's current payoff projection, so it always agrees with the account balances and the projection.
The operation works on every plan. Debt reads stay open after a downgrade, so a
plan set up earlier can still be read; only changes to the plan need a plan that
includes the Debt Center. Any member who can open the workspace can read it. A
workspace the caller can't access returns 404.
What the report does not tell you
Keep these limits in mind when you present the numbers:
- No past forecasts are kept.
currentProjectionand thecurrentProjected*summary fields are where the plan as it stands today leads. They are not what was predicted in the past. Strategy, extra payment, minimum rules and the debts themselves all change, and none of that is kept, so the report can't compare an old forecast with what happened. Nothing in the response measures forecast accuracy. - Net reduction can be negative.
netDebtReductionis signed. A household that borrowed more than it repaid has a negative reduction. OnlyprogressPercentis clamped (to 0–100) for display; the money fields are exact. - Removed debts are never payoffs. A debt the user took out of the plan has
statusremoved. It is history, not a payoff: it never counts as paid off and frees no payment capacity for the other debts. - Interest paid isn't available. The ledger can't reliably separate the
interest part of a payment, so no interest-paid figure is reported. Because
interest accrues in between,
actualDebtPaymentsToDateandnetDebtReductionaren't comparable, and the gap between them isn't the interest paid. The only interest figure issummary.currentProjectedRemainingInterest, which is a projection. - Only payments made while a debt was in the plan count. A payment is a
positive transfer into the debt account. One recorded before the debt joined
the plan, or between a payoff or removal and the debt being added back,
belongs to no episode and isn't reported anywhere. Future-dated payments
aren't reported either, so the figures agree with the current balance. So
actualDebtPaymentsToDateisn't everything ever paid on these accounts.
Request
| Query parameter | Format | Description |
|---|---|---|
from | YYYY-MM | First month of the months timeline, inclusive. Defaults to the month the earliest debt joined the plan. |
to | YYYY-MM | Last month of the months timeline, inclusive. Defaults to the current month. |
from and to bound only months. summary and debts always describe
the whole history, so zooming a chart never changes the headline.
The range can cover at most 120 months. A range you ask for that is longer is
refused, never shortened. When you leave out from and the history is older
than 120 months, from defaults to 119 months before the current month
instead. When you send only one bound, the other takes its default and the
combined range must still fit, so to alone, set far in the future, can be
refused on a long history.
Months are calendar months in the workspace's time zone.
curl -s -H "Authorization: Bearer $TOKEN" \
"https://api.budgetthing.com/api/v1/workspaces/$WORKSPACE_ID/debt-plan/history?from=2026-01&to=2026-11"
Response
Money fields use the usual money object: minor in the workspace's smallest
currency unit and a formatted display string (see
Making Requests).
{
"from": "2026-01",
"to": "2026-11",
"summary": {
"startingDebt": {"minor": 80000, "display": "$800.00"},
"currentDebt": {"minor": 65000, "display": "$650.00"},
"netDebtReduction": {"minor": 15000, "display": "$150.00"},
"progressPercent": 18,
"activeDebtCount": 1,
"paidOffDebtCount": 1,
"removedDebtCount": 1,
"actualDebtPaymentsToDate": {"minor": 225000, "display": "$2,250.00"},
"currentProjectedDebtFreeMonth": "2027-08",
"currentProjectedTotalsPartial": false,
"currentProjectedRemainingInterest": {"minor": 6120, "display": "$61.20"},
"currentProjectedRemainingPayments": {"minor": 71120, "display": "$711.20"},
"currentPaymentCapacity": {"minor": 7500, "display": "$75.00"}
},
"months": [
{"month": "2026-01", "actualDebtPayments": {"minor": 30000, "display": "$300.00"}},
{"month": "2026-02", "actualDebtPayments": {"minor": 0, "display": "$0.00"}}
],
"debts": [
{
"memberId": "debtm_7Kp2Qx9Tn4Wd1Zr6Hb3Lm",
"accountId": "acc_4Fh8Rz2Yc6Qm1Jt9Dn5Gk",
"accountName": "Visa",
"accountType": "credit_card",
"status": "active",
"episode": 2,
"includedAt": "2026-07-03T15:20:00Z",
"monthsInPlan": 5,
"startingBalance": {"minor": 80000, "display": "$800.00"},
"currentBalance": {"minor": 65000, "display": "$650.00"},
"accountBalance": {"minor": 71000, "display": "$710.00"},
"aprBasisPoints": 1899,
"minimumPayment": {"type": "percentage", "percentageBasisPoints": 200, "floor": {"minor": 2500, "display": "$25.00"}},
"customPriority": 1,
"paymentCapacity": {"minor": 7500, "display": "$75.00"},
"actualDebtPayments": {"minor": 20000, "display": "$200.00"},
"netDebtReduction": {"minor": 15000, "display": "$150.00"}
}
],
"currentProjection": {"startMonth": "2026-11", "status": "projected", "debtFreeMonth": "2027-08"}
}
The example is shortened: months has an entry for every month from from to
to, debts lists every episode, and currentProjection has every field of the
projection response.
summary
The headline describes the household's current paydown journey. For each account only its latest episode takes part, and an account whose latest episode was removed takes no part. An account paid off and later added again therefore counts its starting balance once, and a withdrawn debt is never reported as progress.
| Field | Description |
|---|---|
startingDebt | Total carried balance the journey's debts started at. |
currentDebt | Carried debt the journey's active debts still owe. A paid-off debt owes nothing. For a credit card it leaves out new spending that the card's payment reserve already covers. Always equals the projection's currentTotalDebt. |
netDebtReduction | startingDebt less currentDebt. Negative when the debts now carry more than they started with. |
progressPercent | netDebtReduction as a whole percentage of startingDebt, rounded down and clamped to 0–100. 0 when there was no starting debt. |
activeDebtCount | Debts currently in the plan. |
paidOffDebtCount | Episodes the ledger settled. An account paid off twice counts twice. |
removedDebtCount | Episodes the user withdrew. |
actualDebtPaymentsToDate | Real money applied to debt paydown across every episode, removed ones included. For a credit card it leaves out the part of a payment that paid off funded new purchases. |
currentProjectedDebtFreeMonth | Debt-free month the current plan projects (YYYY-MM). Absent when payoff isn't projected. |
currentProjectedTotalsPartial | true when the projection stopped before every debt was repaid, so the two remaining totals cover only the simulated months. |
currentProjectedRemainingInterest | Interest the current plan still projects across every active debt. |
currentProjectedRemainingPayments | Total the current plan still projects paying: remaining principal plus remaining interest. |
currentPaymentCapacity | Monthly debt-payment capacity the current plan maintains, including the recurring extra payment and the capacity that repaid debts freed. |
The currentProjected* fields and currentPaymentCapacity are copied from
currentProjection; they are not historical figures.
months
One entry per calendar month from from to to, oldest first, with no gaps.
| Field | Description |
|---|---|
month | The month, YYYY-MM. |
actualDebtPayments | Real debt-paydown money applied in the month across every episode. 0 for a month with no payments, so a chart has a continuous axis. |
A payment is counted in the month of its own transaction date, which is the month the household paid in, even when it was entered later. It belongs to the episode that was in the plan when the payment was recorded. For a credit card the part of a payment that paid off funded new purchases is left out, because it settled the new spending, not the carried balance.
debts
Every episode the plan has ever recorded, active, paid off and removed, newest
first. An episode is one stay of an account in the plan. An account paid off
and later added again has two episodes, numbered by episode, and they are
never merged: each has its own configuration and payments.
| Field | Description |
|---|---|
memberId | Debt ID (debtm_...). |
accountId, accountName | The liability account. |
accountType | credit_card or liability. |
status | active, paid_off (the ledger settled the debt) or removed (the user withdrew it, which is not a payoff). |
episode | 1-based episode number for this account. |
includedAt | When the episode joined the plan. |
paidOffAt | When the debt was actually repaid: the record time of the payment that settled it. Present only for paid_off. |
reopenedAt | When a paid_off episode was reopened because a correction to the ledger (a deleted or edited payment, a purchase dated before the payoff) meant the debt was never actually repaid. The episode is then active and paidOffAt is absent. Stays set if the episode is repaid again. Absent for an episode that was never reopened. |
removedAt | When the user withdrew it. Present only for removed. |
monthsInPlan | Calendar months the episode has been in the plan, or was in it before it ended, counting the month it joined. |
startingBalance | Carried balance when the episode joined. Never updated afterwards. |
currentBalance | Carried debt still to pay down. Active episodes only. |
accountBalance | The account's whole outstanding balance, funded new spending included. Active episodes only. |
aprBasisPoints | Annual rate in basis points (1899 is 18.99%). |
minimumPayment | The minimum-payment rule: type fixed with amount, or percentage with percentageBasisPoints and an optional floor. Frozen once the episode ends. |
plannedPayment | Amount the user intends to pay each month, when set. |
customPriority | Priority for the custom strategy. A lower number is a higher priority. |
billId | The bill that supplied the payment schedule, when there is one. |
paymentCapacity | Recurring monthly payment this episode established, frozen once the episode ends. It isn't proof that the money is still rolling to other debts today. A removed episode frees nothing. A paid-off episode's capacity rolls to the remaining debts only while it's still the account's latest episode, it was repaid since the plan last started rolling payments down, and at least one debt is still active. What the plan maintains today is summary.currentPaymentCapacity. |
actualDebtPayments | Real debt-paydown money paid while this episode was in the plan, leaving out card payments that paid off funded new purchases. |
netDebtReduction | Carried debt this episode eliminated: startingBalance less currentBalance for an active episode (negative if the balance grew), the whole startingBalance for a paid-off one. Absent for a removed episode. |
A paid-off episode can return to active. When a deleted or edited payment, or a
purchase dated before the payoff, means the account's carried balance was never
zero at the payoff, the account's latest episode moves from paid_off back to
active (the only transition out of paid_off), keeps its episode number and
sets reopenedAt. Spending entered after the payoff and dated the same day or
later is not a correction: it is untracked until it is added back as the next
episode. Older episodes and removed ones never reopen. The change is
additive: reopenedAt is a new optional field on this episode and on the debt
object (GET /v1/workspaces/{workspaceID}/debt-plan/members).
POST /v1/workspaces/{workspaceID}/debt-plan/reconciliations applies both
directions and now returns reopened, the number of episodes it reopened, beside
paidOff. It is idempotent.
A paid-off or removed episode has no currentBalance or accountBalance. The
account's balance today says nothing about where that episode ended, so the
report doesn't present it as one. A removed episode also has no
netDebtReduction, because its balance when it was withdrawn isn't known.
currentProjection
The current plan's forward-looking projection, identical to the response of
get-debt-plan-projection (GET /v1/workspaces/{workspaceID}/debt-plan/projection)
for the same plan, including its month-by-month timeline. It is where today's
plan leads, never what was predicted in the past.
Errors
| Status | code | When |
|---|---|---|
404 | NOT_FOUND | The workspace doesn't exist or the caller can't access it. |
422 | VALIDATION_FAILED | from or to isn't a calendar month (YYYY-MM); detail is errors.api.debtHistoryFromMustBeAMonthYYYYMM.detail or errors.api.debtHistoryToMustBeAMonthYYYYMM.detail. A day (2026-06-01) or a year (2026) is refused too. |
422 | VALIDATION_FAILED | from is after to; detail is errors.api.fromMustNotBeAfter.detail. |
422 | VALIDATION_FAILED | The range covers more than 120 months; detail is errors.api.debtHistoryRangeTooLarge.detail and translationParams.maxMonths is 120. |
See Errors for the response format.
Debt trackers
A debt payoff tracker is the goal tracker drawing for a debt: a template (a picture only) filled to show how far the debt has come. The numbers come from the same Debt Center state as the history above, so a tracker never disagrees with it, and a tracker stores no balance of its own.
| Operation | Method and path | Scope | Success |
|---|---|---|---|
get-debt-trackers | GET /v1/workspaces/{workspaceID}/debt-plan/trackers | debt:read | 200 with the trackers |
list-debt-tracker-themes | GET /v1/workspaces/{workspaceID}/me/debt-tracker-themes | none (session only) | 200 with templates and journey |
set-debt-tracker-theme | PUT /v1/workspaces/{workspaceID}/me/debt-tracker-themes/{accountID} | none (session only) | 200 with the saved choice |
reset-debt-tracker-theme | DELETE /v1/workspaces/{workspaceID}/me/debt-tracker-themes/{accountID} | none (session only) | 204 |
set-debt-journey-tracker-theme | PUT /v1/workspaces/{workspaceID}/me/debt-tracker-themes/journey | none (session only) | 200 with the saved choice |
reset-debt-journey-tracker-theme | DELETE /v1/workspaces/{workspaceID}/me/debt-tracker-themes/journey | none (session only) | 204 |
Unlike the history, get-debt-trackers needs a plan that includes the Debt
Center: without it the call returns 402 (PLAN_LIMIT_EXCEEDED, limit key
debt_management) and no debt data. Saved designs are kept while the plan lacks
it and come back with it. A workspace the caller can't access returns 404.
The three choice operations are personal interface state, like the
goal tracker choices, so a
personal access token is refused; any
member can use them, viewers included. The trackers read has no MCP tool (the
get_debt_payoff_history tool
covers progress).
What a tracker measures
- Total is the starting balance the Debt Center froze when the debt was
added (
startingBalanceof its episode). It never changes with interest or new borrowing. - Progress is the net fall in the carried balance since then, clamped to 0
through the total. It is the episode's
netDebtReduction, so interest and new borrowing take progress back, down to zero, whilenetDebtReductiongoes negative. For a credit card the carried balance leaves out funded new spending that the card's payment reserve already covers, so everyday spending the budget funded doesn't empty the tracker. The gross payments are not used: that would fill a tracker for a debt that isn't shrinking. - Payments made before the debt was added don't count; a tracker starts at zero on the day the debt is added.
progressequalstotalonly whenreachedistrue. A debt that isn't paid off is at most one minor unit short of full.- A debt repaid and borrowed on again starts a new episode with its own
starting balance and an empty tracker (
episodegoes up,memberIdchanges). The member's chosen design is kept per account, so it carries over.
The trackers read
GET /v1/workspaces/{workspaceID}/debt-plan/trackers
{
"trackers": [
{
"subjectKind": "debt",
"accountId": "acct_...",
"accountName": "Visa",
"memberId": "dpm_...",
"episode": 1,
"total": { "minor": 200000, "display": "$2,000.00" },
"progress": { "minor": 30000, "display": "$300.00" },
"reached": false,
"netDebtReduction": { "minor": 30000, "display": "$300.00" },
"currentBalance": { "minor": 170000, "display": "$1,700.00" },
"balanceGrowing": false,
"template": { "id": "builtin:boxes", "options": {} }
},
{
"subjectKind": "debt_journey",
"total": { "minor": 800000, "display": "$8,000.00" },
"progress": { "minor": 30000, "display": "$300.00" },
"reached": false,
"netDebtReduction": { "minor": 30000, "display": "$300.00" },
"currentBalance": { "minor": 770000, "display": "$7,700.00" },
"balanceGrowing": false,
"template": { "id": "builtin:boxes", "options": {} }
}
]
}
| Field | Meaning |
|---|---|
trackers[] | One entry per account whose latest episode is active or paid off and has a starting balance above zero (oldest first), then the journey when there is anything to track. Empty when no debt is in the Debt Center. |
subjectKind | debt for one liability account, debt_journey for the whole debt-free journey. |
accountId, accountName, memberId, episode | The debt and its Debt Center episode (see get-debt-plan-history). Absent for the journey. |
total, progress | What the tracker draws. See above. For the journey, total is summary.startingDebt and progress is netDebtReduction clamped to 0 through total. |
reached | true when the debt is paid off (its episode is paid_off, or the ledger has taken its carried balance to zero). For the journey, when every debt on it is. |
netDebtReduction | The starting balance less the carried balance now. Signed: negative when the household owes more than it started with. |
currentBalance | The carried balance now. Zero once paid off. |
balanceGrowing | true when the debt's payment doesn't cover the interest it charges, so its balance would grow (the projection's not_amortizing status). For the journey, true when any debt is. |
template | The caller's chosen template id and options, or builtin:boxes with empty options. Personal to the caller. |
A debt the user removed from the Debt Center has no tracker, and the journey leaves it out: withdrawing a debt isn't paying it off, the same rule the history's headline follows. A debt added with nothing carried has nothing to track either.
Choosing a design
PUT takes { "templateId": "builtin:hearts", "options": { "cells": 25 } },
validated like a goal tracker choice
(options is optional; saving replaces the earlier choice). There is no
deprecated theme field. {accountID} must be a credit card or liability
account of the workspace; it doesn't have to be in the Debt Center yet, so a
choice survives the debt being removed and added again. The journey path saves
the choice for the whole journey tracker. DELETE removes the choice and succeeds when nothing is saved. A tracker shows
on the member's Reports only while a choice is saved, so deleting it also removes
the tracker from Reports (the app's Remove tracker); builtin:boxes applies
again if it is started again. The debt, its payments and the Debt Center are not
changed.
GET /me/debt-tracker-themes returns
{ "templates": { "acct_...": { "id": "...", "options": {} } }, "journey": { ... } };
journey is absent when there is no choice. A member's debt designs are removed
with the account, and when the member leaves the workspace.
Errors
| Status | code | When |
|---|---|---|
402 | PLAN_LIMIT_EXCEEDED | get-debt-trackers: the workspace's plan doesn't include the Debt Center. |
404 | NOT_FOUND | The workspace isn't accessible; for a choice, the account isn't a credit card or liability account of this workspace (an account of another workspace looks the same), or the template isn't a starter or a template of this workspace. |
422 | VALIDATION_FAILED | options isn't cells (1 to 100) or cellAmountMinor, or sets both; templateId is missing. |