Product configurations
Read the archetypes
Every Archetype’s frame — which fields it carries, which it requires, which it locks, and the bounds — plus the closed sets a value is drawn from. What a form is built from.
GET
What a configuration may say, as the Platform’s own validator reads it. For each Archetype: every field its frame declares, with the kind of value it takes, the unit, whether it is required, and the bounds; and every field the Archetype locks, with the reason. Beside the frames: the day-count bases, the schedule kinds with what each takes, the treatments of early money, and the shape the Platform composes a configuration’s identifier to.
The answer is the same under every Tenancy and reads nothing yours. It is addressed under a Tenancy so that the console and the API serve it alike. A build fails when this answer and the frame in code disagree, so a form generated from it cannot drift from what creation will refuse.
Any query parameter on this route answers
Bounds are stated in the unit the wire takes the value in, so a form compares without converting. An amount’s bound is in minor units with no currency. A rate’s bound is the percentage string a body quotes:
"2000" is 2,000% per year. A menu of terms carries both the largest term and the longest menu.Path parameters
string
required
The Tenancy asking. The answer does not depend on it.
Response
object[]
required
One frame per Archetype, in the Platform’s order:
instalment, bnpl, payday.string[]
required
The conventions
day_count_basis may name.object[]
required
The kinds a schedule may be, each with what it takes:
interval_days as {min, max} on the interval kind, grid_days as {min_entries, min, max, last_day} on the grid kind, and takes_day — true on the one kind under which the Loan, never the product, names the day of the month.string[]
required
The treatments
early_money_treatment may name.object
required
The shape a configuration’s
id is composed to: pattern, as a regular expression, and digits, the digits the number carries. Every identifier is eleven characters — a four-character Archetype code, a hyphen, six digits — so a catalogue reads down one column. It describes what the Platform will answer, not a rule you must meet: you state no identifier. Each Archetype’s frame carries its own identifier_prefix beside it.400: the route reads none.