Clients
Read a client's payment options
What to collect on a date, per loan: what has fallen due, what is late, the next instalment, the payoff, and what an unnamed amount would do.
GET
The collection question, answered per Loan for the date you name: what has fallen due, what among it is late, the next instalment, the payoff, and what an amount naming none of them would do. A figure the Platform could not produce is absent rather than zero — a quoted zero says the Loan owes nothing, which is a different fact from being unable to say — with the reason in
anomalies. late is the one exception: its absence means the Loan is not late.
The figures are not additive. late is part of overdue; on an instalment’s due date overdue already holds that instalment; payoff is a complete answer of its own.
What paying early saves. payoff.forgone is the interest, the fee and the tax the Loan’s schedule — as the receipts left it, never the plan it was issued with — would still charge from the date on, less what payoff.owed charges of each, by charge with its total. It is the figure behind «you saved $X»: do not sum the remaining periods yourself, which goes wrong on a prepaid, restructured or rolled-over Loan. Principal is in neither side, because it is paid either way, and the penalty and the late fee are not forgone, because nothing of them lies ahead. Where the Loan’s fee rule keeps the outstanding fee, owed charges it and no fee is forgone. It is a stated zero where nothing is forgone, and absent exactly where payoff is.
This read records nothing. It is the read to make on every visit to a screen. The payoff figure it answers is for the screen; the figure you relay to a borrower as the one to pay, record — it answers the same number, and the record, and the rule that it binds nothing, are on the Loan’s payoff quotes.
It carries a validator. The answer has an ETag; send it back in If-None-Match and, where nothing was recorded about the Client since and the date is the same, the answer is 304 with no body — decided from one statement, with no derivation run. Any receipt, reversal, act, retraction or issuance for the Client, or a release of the Platform, changes the tag. The book version answers whether anything moved without asking for anything else.
Path parameters
Query parameters
The civil date the figures stand for. Required and never defaulted; absent is
422 — there is no today the Platform can supply.