Loans
Read a loan
The whole record: the folded state, every recorded fact, the frozen plan and the regime it was priced under.
GET
One route answers the whole Loan. Nothing on it is stored as a status:
state is folded from the recorded facts on every read, so the answer and the facts it derives from can never disagree. Loans carries the states, the precedence and the freeze.
Path parameters
The Loan’s identifier, as the issuance answered it. Another Tenancy’s Loan and one that never existed are both
404.Query parameters
The day
standing is derived for. Without it, your today in the zone your company profile states. It moves nothing else on the read.Response
Folded on every read:
active, closed, cancelled, written_off, ceded, held, voided, rescinded, withdrawn or restructured. Precedence where facts pile up: voided over held over cancelled over rescinded and withdrawn over ceded over written_off over closed over restructured over active. The state takes no date, on included, so a hold nobody confirmed reads held even past its last day; the listing answers expired with on.Contradictions the fold resolved rather than refused — empty on a healthy Loan. Each names its kind and the pair of facts behind it.
What each return in force produced, oldest first:
act, on, amount, unwound_principal, principal_owed_back, interest_owed_back, still_owed by charge, beyond_the_loan — your own refund, outside the book — and returned_whole. Derived on every read; absent on a Loan nothing went back on.What the Receipts have settled against this Loan to date — the same figure as the listing row. A stated zero where nothing reached the Loan; absent where the Client’s allocation cannot be derived, with the reason in
anomalies.Whether the Loan still owes anything, by the rule the listing states it: an active or written-off Loan owes the Tenancy, a ceded one owes the assignee, a closed or cancelled one owes nothing.
late or current on standing_on, for an active or restructured Loan only. late exactly where late is present. An instalment falling due that day, and a matured Period whose residue is inside the tolerance band, are current. Absent on every other state, on a Loan anchored after the day, and where no day is known.The day the standing is for:
on, or else today in the time zone your company profile states. No zone and no on: no standing.What is late that day —
owed, worst_days_past_due, periods — exactly the payment options’ late for this Loan on the same day. Absent where current.The suspension in force that day. A paused Loan reads
current, as the payment options read it, and this says why.The value date of the discharging Receipt. Present exactly on a
closed Loan — a written-off Loan never carries one, even after full recovery.Present where a write-off stands:
on, cost — the debt at the judgement, taken apart by charge — recovered, and last_recovery_on, the value date of the latest Receipt that recovered anything, absent while recovered is zero. Delinquency carries the worked block.The merchant commission the Loan’s configuration version states, in signed basis points: positive where the store pays you, negative where you pay the store. Read from the version and repeated here, so a store’s fees are figured without reading the version. It never enters the borrower’s plan, and what a sale’s fee comes to is your own ledger. Absent where the version states none.
The stated terms echoed:
client_id, reference, principal, term_periods, rate, penalty_rate, anchor, jurisdiction, tax, and down_payment, schedule, merchant_ref and context where stated.The plan as issued — frozen. Where the Loan stands now is the serviced Schedule.
The jurisdiction and the disclosed cost figure, computed once at issuance and never restated, with the convention it was computed under:
convention, convention_version and provisional.The three are frozen with the figure. A Loan issued while the rule was provisional reads provisional: true for its whole life, whatever is confirmed afterwards; a Loan issued under a confirmed version reads false. A Loan issued before the Platform named its conventions reads mx-cat, version 1, provisional, which is what was true of every one of them. What provisional means.The jurisdiction’s law as values, frozen:
penalty_rate, late_fee, tolerance_days, penalty_base, capitalises, acceleration.Three fields are served only where the Loan carries them.The example below is a Loan that carries none of the three, so none of the keys appears.