The custom field values stored on one loan file.
Every field placed on the loan file comes back, answered or not. A
field nobody has filled in is present with value: null rather than
left out, so one call is enough to render a complete form. A null
therefore means "not answered on this loan" — never "no such field".
Each item is just id, key and value. key is there to make a
response readable, not to match on — it is built from the label and
changes if the field is renamed. To render or interpret an answer you
need the field's label, type and options — call
/api/v4/custom-fields once and join on id. Those definitions are
the same for every loan, so they are not repeated here.
The shape of value depends on the field's type. Checkboxes and
multi-selects come back as an array of the chosen options; an empty
array means the field was answered with nothing ticked, which is
different from null. Dates come back as YYYY-MM-DD. Money and
percentages may come back as strings. File fields come back as a
numeric storage id, not a link.
⚠️ SSN fields and a tenant API key on "No". An SSN-type field reads as stored
for every caller, except a tenant API key whose PII setting (chosen when it was
generated) is "No": it reads every SSN-type value as null. Such a key may send
that null back; it is ignored rather than clearing the answer.
⚠️ This is the loan's copy. A field whose placement is loanAndProfile
also has a separate value on the borrower profile. They are different
records and can hold different answers, so this tells you nothing about
the borrower's.
Function fields are calculated, and calculated fresh on every read.
A Function field's value is derived from other fields on the loan, so it
is never stored and never cached here — asking for it recalculates it
from whatever the other fields currently hold. Its value is typed by
what the formula returns:
| Formula returns | value |
|---|---|
| A date | "YYYY-MM-DD" |
| Money | a number, e.g. 125000.50 |
| A number | a number, e.g. 6 or 2.75 |
| Yes/No | true or false |
| Nothing — an input is blank, or a division by zero | null |
A null on a Function field means the formula had nothing to work with,
which is a real answer and not a failure.
⚠️ Calculation happens in the main LendingWise application. If that
call cannot be completed, this endpoint answers 502 rather than
returning the loan with null in place of the calculated values. That
is deliberate: a null would be indistinguishable from "not answered",
and you would have no way to tell a real blank from a figure we simply
could not produce. A 502 here is usually temporary.
A loan id you cannot see answers 404, whether it does not exist,
belongs to another company, or is filed under a branch you are not
assigned to — these are deliberately the same answer.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

