Every status the API answers, every refusal code it publishes, and what to do about each.
The API uses conventional HTTP status codes. A 2xx means the request did what it said. A 4xx means something about the request or the record stands in the way, and the body says what. A 5xx means the Platform failed, and the body says nothing about your request.Every refusal is one envelope. Branch on code, retry and details. The error sentence is written for a person and may be reworded without notice; nothing else in the envelope ever is.
Error shape
{ "error": "loan: the reference names a different record: order-0042 already records a loan whose principal is 5000.00 MXN, and this issuance states 6000.00 MXN — a loan issued in error is corrected by cancelling it and issuing the correction under a new reference", "code": "reference_reused", "retry": "after_change", "details": { "field": "principal", "recorded_id": "c68c7355-0598-4cf4-a69a-b6b4ea10a5c4", "recorded_value": "5000.00 MXN", "stated_value": "6000.00 MXN" }, "request_id": "0190f6a2-3c4d-7e8f-9a0b-1c2d3e4f5a6b"}
Field
Present
What it carries
error
Always
A sentence for a person.
code
Always
The kind of refusal. Append-only.
retry
Always
What to do next: one of the four values below.
retry_after
Where a wait applies
Whole seconds, equal to the Retry-After header.
details
Where the kind carries them
Typed values a program reads instead of the sentence.
request_id
Always
The Platform’s identifier for the request, equal to the Request-Id header.
What to do next
retry
Meaning
as_is
Nothing was written. Send the same request again — after retry_after where it is given.
after_record
A fact on record stands in the way. Act on the record first — retract, reverse, settle — and the sentence names how.
after_change
The request itself is wrong. Send a different one.
never
No request of yours will be served for this, by this key or for this lookup.
Details
The keys are a closed set, each present exactly where the kind of refusal carries it. Every value is a string.
Key
On
What it carries
attempt_id
source_unavailable
The Platform’s handle for a lookup whose response was lost. Your source ledger carries it.
The bound you exceeded, and what in your request exceeded it. On the two client guards, observed is what the Client already holds: the Loans open, or the principal outstanding.
The record the reference, the identifier or the decision already names.
recorded_value, stated_value
reference_reused
What the record says of field and what your request says, as the sentence renders them — none for nothing stated.
The request identifier
Every response carries Request-Id — successes, refusals and failures alike — and every refusal carries the same value as request_id. It is the identifier on the Platform’s own request log: quote it to name a request, above all a 500, whose body says only that the request could not be served. You may send your own identifier in Request-Id; it comes back as Caller-Request-Id and is recorded beside the Platform’s, never in its place.
The catalogue of codes is append-only. A published code is never renamed and never reused for a different kind of refusal. Treat a code you do not recognise as a new refusal, not as a fault in your client.
Status codes
Status
Meaning
What to do
400
The request could not be read: bad JSON, an unknown field, a bad cursor or query parameter.
Fix the request. The message names the field.
401
The request carries no valid signature, or the key is revoked.
Check the key and the signed canonical string. See API keys.
403
The key is valid but not allowed to do this.
Use a key with the right scope, or the right tenant.
404
The route or the record does not exist under your tenant.
Check the path and the ids. Another tenant’s record answers the same 404.
405
The route exists, the method does not.
Check the method in the reference.
406
The record stands in a state your Contract-Version does not know.
State the version details.bound names. See the changelog.
409
A fact already on record stands in the way. Nothing was written.
The message names the fact and how to clear it: retract it, reverse it, or send the recorded body again.
413
The body is over the size limit.
Send less.
415
The body is not application/json.
Set the Content-Type header.
422
The request was read, and a value in it is not acceptable.
The message names the field and the bound. Send a different request.
424
A credit source was reached and did not answer. Nothing was recorded and the reference stays free.
Read retry: as_is where the source’s failure is retryable — resubmit the same application under the same reference — and never where a resubmission meets the same failure; settle the outcome with the source first. details.attempt_id names the lookup.
429
A rate limit or a source quota is spent.
Wait for the Retry-After header and send again.
500
The Platform failed.
Retry with backoff. The code is always internal_error; quote request_id to an operator.
503
The Platform is starting or draining.
Retry. The code is unavailable.
A 409 is never a defect of your request. It says the record already holds something the request contradicts: a receipt on a loan you want to cancel, a cancellation under a reference you reused, a write-off in force. Read the message, act on the record, then send the request again.
Requests and access
Code
Status
Meaning and what to do
malformed_request
400
The body is not valid JSON, repeats a key, or carries a field the route does not read. The message names it.
invalid_query
400
A query parameter the route does not read, or one it cannot parse.
invalid_cursor
400
A cursor that is not one the Platform issued. Start the listing again.
invalid_page_size
400
A limit outside 1 to 200. The default is 50.
invalid_context
400
A context object with more than 16 keys, a key over 64 bytes, or over 4,096 bytes in all.
invalid_idempotency_key
400
An Idempotency-Key that is not UTF-8, carries a NUL, or is over 255 bytes.
invalid_contract_version
400
A Contract-Version that is not a published version, not a day, or stated twice. See the changelog.
unauthenticated
401
No signature, a signature that does not verify, or a revoked key.
not_permitted_scope
403
The key does not carry the scope the route needs.
not_permitted_tenant
403
The key belongs to another tenant than the path names.
not_permitted_actor, not_permitted_role
403
At the Console door: the user is not a member, or not in the role the action needs.
no_such_route
404
No route at this path.
not_found
404
No such record under your tenant.
method_not_allowed
405
The route does not answer this method.
contract_version_required
406
The record stands in a state your Contract-Version does not know. State the version in details.bound.
idempotency_mismatch
422
The same Idempotency-Key with a different request. Use a new key.
body_too_large
413
The body is over the route’s limit.
unsupported_media_type
415
The body is not application/json.
contended
409
Another write for the same client held its turn past two seconds. Nothing was written. retry is as_is: send it again.
rate_limited, concurrency_limited
429
Too many requests, or too many at once. Honour Retry-After. retry is as_is, and details.bound is the number in force for you: the rate per second, or the requests in flight. By default you are held to 16 in flight, 2 seconds of patience for a slot, 50 started per second and a burst of 100; read yours.
internal_error
500
The Platform failed. Retry with backoff.
unavailable
503
The Platform is not serving yet. Retry.
Products
Code
Status
Meaning and what to do
unknown_archetype
422
archetype is not instalment, bnpl or payday.
missing_field
422
A required field is absent: id on a create, or a field of values the archetype requires. The message names it.
field_not_in_frame
422
A field that belongs to another archetype.
field_locked
422
A field the archetype fixes, such as terms on a payday product. Remove it.
out_of_bounds
422
A value outside the bound the endpoint page states for it.
inconsistent
422
Two values that contradict each other: amounts in two currencies, a minimum above its maximum, or a repeated entry in the term menu.
invalid_schedule
422
The wrong parameter for the schedule kind, grid days outside the month, a day stated on the product, or one kind admitted twice.
invalid_rate
422
A rate that is not an exact decimal percentage per year.
unknown_currency
422
A currency code the Platform does not carry.
invalid_tenant
422
The tenant_id in the path is not a valid identifier.
Lookup keys
Code
Status
Meaning and what to do
lookup_key_taken
409
The key names another version and the body did not state transfer: true. details.recorded_id is the product it names, details.recorded_value the version. Add transfer: true if you mean to move it.
no_configuration
404
No product with that configuration_id and version under your tenant.
invalid_identifier
422
The lookup_key is empty, over 64 characters, carries a character outside letters, digits, - and _, or is shaped like an identifier the Platform composes (inst-000001) or mints (a UUID).
missing_field
422
The body names no configuration_id or no configuration_version.
not_found
404
A read or removal of a key you do not hold, or removed.
invalid_query
400
The list named more than ten keys; details.bound is 10.
Two codes are retired on this surface and are never reassigned. invalid_name was answered until 2026-09-11, when a product configuration stopped carrying a name. invalid_identifier and conflicting_configuration were answered for one day, 2026-09-11 to 2026-09-12, while a tenant stated its configuration’s identifier; the Platform composes it now, so neither can be raised on a configuration. invalid_identifier is unchanged on Clients, where it always belonged, and is answered for a lookup key — your own word, not a configuration’s identifier.
Clients
Code
Status
Meaning and what to do
invalid_identifier
422
The id is empty, over 64 characters, or carries a character outside letters, digits, - and _. details.bound is the pattern, ^[A-Za-z0-9_-]{1,64}$, and details.observed the identifier’s length.
invalid_label
422
The label is empty, null, or over 200 characters. Leave it out instead.
conflicting_registration
409
The id is registered with a different label. Replay the recorded body or correct the label.
Loans: issuance
Code
Status
Meaning and what to do
unknown_client
422
client_id is not registered under your tenant. Register it first.
unversioned
422
configuration_version is missing, not an integer, or "latest".
no_configuration
404
No product with that configuration_id and version under your tenant.
term_refused
422
The term is outside the product’s menu, the principal outside its range, a rate outside its corridor, or the schedule named is not one the version admits.
missing_term
422
A term the product requires is absent, such as down_payment on a BNPL loan or schedule under a version admitting several.
below_minimum_instalment
422
The payment falls under the product’s minimum_instalment.
penalty_rate_above_cap
422
The penalty rate is over the market’s cap. In Mexico, twice the ordinary rate. details.bound is the cap at the Loan’s own rate, details.observed the penalty rate; the market’s rules state the cap’s form.
late_fee_beside_penalty
422
The product has a late fee and the loan a penalty rate above zero. In Mexico a delay is charged once: drop the fee, or set the penalty corridor to zero.
invalid_tax_rule
422
The tax rule names a component the Platform does not charge, or has no rate.
tax_rule_not_admitted
422
The tax rule is not one of the rules the loan’s jurisdiction admits, or leaves out a component the version charges. The message names the jurisdiction and its rules.
no_tax_rules
422
The Platform asserts no tax for the loan’s jurisdiction.
no_penalty_rule, incoherent_penalty_rule
422
The market’s penalty rule is absent or contradicts itself for this loan.
no_disclosure_rule, no_disclosure_rate
422
The market has no disclosure rule, or the loan’s inputs give it no rate.
The pricing engine cannot produce a plan from these terms. The message says which.
rate_not_annual, invalid_basis, invalid_period
422
A rate on the wrong basis, an unknown day count, or a period count of zero.
invalid_date, invalid_cadence, invalid_series
422
A date that does not exist, a cadence the calendar cannot step, or a schedule series it cannot build.
invalid_jurisdiction, unknown_jurisdiction
422
jurisdiction is not a two-letter code, or not one the Platform serves.
beyond_horizon
422
A date of the plan runs past the holiday calendar. Shorten the term. details.bound is the last covered day — the calendar.horizonthe market’s rules answer — and details.observed the date asked about.
reference_reused
409
The reference names a loan with a different body. details names the field that differs, both values and the loan.
Under a facility
Code
Status
Meaning and what to do
facility_required
422
The product requires a facility and the request names none.
no_facility
422
No facility with that id under your tenant.
facility_client
422
The facility was granted to another client.
facility_product
422
The facility was granted under another product.
facility_currency
422
The facility is in another currency.
facility_rate
422
The rate is outside what the facility allows.
facility_window
422
The anchor is outside the facility’s window.
facility_headroom
422
The principal exceeds what the facility has left.
facility_arrears
422
A loan already under the facility is overdue. Settle it first.
facility_superseded
422
The line was renewed by another line, and the anchor falls on or after the day the new line opens. Draw from the new line.
decision_disagrees
422
The credit decision named on the issuance was made for other terms.
The client guards
Held at every issuance and preview where the configuration version states them, over the Client’s whole book on the anchor, whatever facility the Loan draws from.
Code
Status
Meaning and what to do
client_open_loans
422
The Client already holds as many open Loans as the version admits. details.bound is the count, details.observed the Loans open.
client_exposure
422
The Loan would take the Client’s outstanding principal past the version’s cap. details.bound is the cap, details.observed what is outstanding.
client_overdue
422
A Loan of the Client’s stands overdue — under the version’s guard, or on any draw from a line. Cure the arrears first.
Loans: acts
Code
Status
Meaning and what to do
invalid_event
422
The date is missing, before the anchor, or before a fact still in force. The message names the day.
not_retractable
422
The event is the issuance. Record a cancellation instead.
A fact stands that this act cannot follow. Retract it first.
receipt_allocated
409
Money has reached the loan, so it cannot be cancelled. Reverse the receipts first.
acceleration_refused
422
Not enough periods are overdue, or notice was not given as the market requires.
nothing_to_write_off
409
The loan owes nothing. Reverse the receipt that settled it if it was an error.
rollover_not_provided
422
The product states no rollover_fee. Issue under a version that does.
nothing_to_roll_over
409
The loan owes nothing on the date.
overdue_on_rollover
409
A period is overdue on the date. Settle it first.
rollover_not_forward
409
The date is at or before the last rollover in force.
rollover_limit_reached
409
One more rollover would exceed the product’s rollover_limit.
return_not_provided
422
The product is a Pay Day Loan, which has no purchase behind it, so nothing can be returned.
return_exceeds_principal
409
The returned amount is more than the outstanding principal on the date.
undeterminable
409
The loan’s record is in a state the question cannot be answered from. anomalies on the loan says why.
no_act
404
No act was recorded under that reference. Read before you resend: GET /acts/{reference}.
Receipts
Code
Status
Meaning and what to do
receipt_refused
422
The receipt states too little to record: no amount, no date, or an election the body cannot carry.
reversal_refused
422
The reversal states too little to record.
no_receipt
404
No receipt with that id under your tenant.
no_allocation_rule, incoherent_allocation_rule
422
The market’s allocation rule is absent or contradicts itself.
outside_loan, outside_plan
422
A date before the loan’s anchor, or past the end of its plan.
not_a_prepayment
422
An election on money that does not reach past every matured period.
unreachable_payment
422
No term can produce the payment the election asks for.
out_of_range
422
An amount the Platform’s integer money cannot hold.
Company profile
Code
Status
Meaning and what to do
no_profile
404
No profile has been stated yet. State one first.
invalid_statement
422
The profile statement is incomplete or contradicts itself.
unknown_country
422
A country the Platform does not serve.
invalid_time_zone, no_time_zone
422
A time zone that does not exist, or a profile that states none where one is needed.
Credit policy and decisions
Code
Status
Meaning and what to do
unknown_policy, unknown_version
422
No policy, or no such version of it, under your tenant.
no_adoption
404
The tenant has adopted no policy.
no_decision
404
No decision with that id.
not_approved
422
The decision named is not an approval.
invalid_application
422
The application is missing a field the policy reads.
rate_outside_corridor
422
The rate asked for is outside the policy’s corridor.
unknown_state
422
A Mexican state code the Platform does not carry.
source_access
422
The policy reads a credit source the tenant has not enabled.
source_quota_spent
429
The source’s quota for the period is spent. Honour Retry-After.
source_unavailable
424
The source was reached and did not answer; nothing was recorded. retry says whether to resubmit and details.attempt_id names the lookup.
invalid_creation, outside_window_bound
422
A facility with an empty window, one longer than the bound, or a line asked of a decision that approved no limit. On outside_window_bound, details.bound is the window in days — the facility_windowthe market’s rules answer — and details.observed the stated expiry’s distance from the decision’s day.
cannot_supersede
422
The line named in supersedes is not this client’s line for this configuration, or another line already renewed it.
window_disagrees
409
The decision already granted a facility with a different window or a different context. details.recorded_id names it.
reference_conflict, version_conflict
409
The same reference names a different decision, or the policy moved under you. Read it again.
client_barred
409
The adoption enforces the credit bar and a recorded refusal bars the client on the day the application states. Nothing was recorded; the message names the day the bar lifts.
Codes answered at the Console door only
These are answered when a policy is authored or a credential is managed at the Console, and never by the tenant API.
Code
Status
Meaning
not_a_person, not_a_second_person, unattributed
403
The action needs a signed-in person, a second distinct person, or an actor it can attribute.
policy_name_taken
422
A policy with this name exists.
version_sequence
422
The version number is not the next one.
digest_claim
422
The signed digest does not match the policy text.
rejected_content
422
The policy text is not one the lexicon accepts.
lexicon
422
The declaration names a term the lexicon refuses.
unconfirmed, already_confirmed
422, 409
The version is not yet confirmed by the second person, or already is.
A source credential that is absent, out of scope, already revoked, or minted with a lifetime outside the bound.
Retries
Read retry rather than the status. The status still classes a code you do not know, roughly so:
Answer
retry
409 contended, 429, 503, 5xx
as_is, with backoff and retry_after where given.
409 naming a fact on record
after_record.
409 reference_reused, 422, 400, 401
after_change.
403
never for this key.
424
as_is or never, by the source’s declared failure.
Requests that create records are safe to repeat as sent. An issuance, an act or a receipt repeated under its own reference answers 200 with the record on file — and where your response was lost, read the record by its reference before you resend. A product creation repeated under its Idempotency-Key answers the recorded outcome. See What is safe to retry.
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Capcells","description":"Documentation for the Capcells lending platform.","colors":{"primary":"#4c42ff","light":"#7770ff","dark":"#382eea"},"logo":{"light":"https://mintcdn.com/capcells/6VlJ7hgvobFTij_K/images/logo-light.svg?fit=max\u0026auto=format\u0026n=6VlJ7hgvobFTij_K\u0026q=85\u0026s=81a6170056b751aa75e709b590703e99","dark":"https://mintcdn.com/capcells/6VlJ7hgvobFTij_K/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=6VlJ7hgvobFTij_K\u0026q=85\u0026s=117a0107b4c71ad1afb3763fb730ea2b"},"favicon":{"light":"https://mintcdn.com/capcells/eHdQ75Mf1L-jcwM2/images/CircleAdaptive.svg?fit=max\u0026auto=format\u0026n=eHdQ75Mf1L-jcwM2\u0026q=85\u0026s=ec94515e93f94f9a25644d2f62fdae1c","dark":"https://mintcdn.com/capcells/eHdQ75Mf1L-jcwM2/images/CircleAdaptive.svg?fit=max\u0026auto=format\u0026n=eHdQ75Mf1L-jcwM2\u0026q=85\u0026s=ec94515e93f94f9a25644d2f62fdae1c"},"api":{"playground":{"display":"simple"},"examples":{"defaults":"required","languages":["curl","python","javascript","go"]},"mdx":{"server":"https://api.capcells.com"}},"background":{"color":{"light":"#ffffff"}},"navbar":{"primary":{"type":"button","label":"Console","href":"https://app.capcells.com"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"capcells","hasAudioNarration":false,"actualSubdomain":"capcells","customDomains":["docs.capcells.com"],"gitSource":{"type":"github","owner":"capcells-sl","repo":"platform","deployBranch":"main","contentDirectory":"docs/public","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0455b04ca26305da2d5d84","clientVersion":"0.0.4424","searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":not(pre)>code{white-space:nowrap}table td,table th{min-width:0!important}#content-area.max-w-full{max-width:1100px}img.ws-shot{width:100%;aspect-ratio:16 / 10;border-radius:12px;border:1px solid rgba(20, 20, 16, 0.08);margin:1.5rem 0}table th{white-space:nowrap}"}]}
{"page":{"pagePath":"api-reference/errors","slug":"/api-reference/errors","pageMetadata":{"title":"Errors","description":"Every status the API answers, every refusal code it publishes, and what to do about each.","noindex":true,"href":"/api-reference/errors"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every status the API answers, every refusal code it publishes, and what to do about each.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,Note,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The API uses conventional HTTP status codes. A `,_jsx(_components.code,{children:`2xx`}),` means the request did what it said. A `,_jsx(_components.code,{children:`4xx`}),` means something about the request or the record stands in the way, and the body says what. A `,_jsx(_components.code,{children:`5xx`}),` means the Platform failed, and the body says nothing about your request.`]}),`\n`,_jsxs(_components.p,{children:[`Every refusal is one envelope. Branch on `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`retry`}),` and `,_jsx(_components.code,{children:`details`}),`. The `,_jsx(_components.code,{children:`error`}),` sentence is written for a person and may be reworded without notice; nothing else in the envelope ever is.`]}),`\n`,_jsx(CodeBlock,{filename:`Error shape`,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loan: the reference names a different record: order-0042 already records a loan whose principal is 5000.00 MXN, and this issuance states 6000.00 MXN — a loan issued in error is corrected by cancelling it and issuing the correction under a new reference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reference_reused\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"retry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"after_change\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"principal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recorded_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c68c7355-0598-4cf4-a69a-b6b4ea10a5c4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recorded_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5000.00 MXN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stated_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6000.00 MXN\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0190f6a2-3c4d-7e8f-9a0b-1c2d3e4f5a6b\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Present`}),_jsx(_components.th,{children:`What it carries`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`Always`}),_jsx(_components.td,{children:`A sentence for a person.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`Always`}),_jsx(_components.td,{children:`The kind of refusal. Append-only.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retry`})}),_jsx(_components.td,{children:`Always`}),_jsx(_components.td,{children:`What to do next: one of the four values below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retry_after`})}),_jsx(_components.td,{children:`Where a wait applies`}),_jsxs(_components.td,{children:[`Whole seconds, equal to the `,_jsx(_components.code,{children:`Retry-After`}),` header.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`details`})}),_jsx(_components.td,{children:`Where the kind carries them`}),_jsx(_components.td,{children:`Typed values a program reads instead of the sentence.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`request_id`})}),_jsx(_components.td,{children:`Always`}),_jsxs(_components.td,{children:[`The Platform’s identifier for the request, equal to the `,_jsx(_components.code,{children:`Request-Id`}),` header.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`what-to-do-next`,children:`What to do next`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`retry`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`as_is`})}),_jsxs(_components.td,{children:[`Nothing was written. Send the same request again — after `,_jsx(_components.code,{children:`retry_after`}),` where it is given.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`after_record`})}),_jsx(_components.td,{children:`A fact on record stands in the way. Act on the record first — retract, reverse, settle — and the sentence names how.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`after_change`})}),_jsx(_components.td,{children:`The request itself is wrong. Send a different one.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`never`})}),_jsx(_components.td,{children:`No request of yours will be served for this, by this key or for this lookup.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`details`,children:`Details`}),`\n`,_jsx(_components.p,{children:`The keys are a closed set, each present exactly where the kind of refusal carries it. Every value is a string.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`On`}),_jsx(_components.th,{children:`What it carries`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`attempt_id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`source_unavailable`})}),_jsx(_components.td,{children:`The Platform’s handle for a lookup whose response was lost. Your source ledger carries it.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`bound`}),`, `,_jsx(_components.code,{children:`observed`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_context`}),`, `,_jsx(_components.code,{children:`invalid_idempotency_key`}),`, `,_jsx(_components.code,{children:`invalid_page_size`}),`, `,_jsx(_components.code,{children:`rate_limited`}),`, `,_jsx(_components.code,{children:`concurrency_limited`}),`, `,_jsx(_components.code,{children:`rollover_limit_reached`}),`, `,_jsx(_components.code,{children:`return_exceeds_principal`}),`, `,_jsx(_components.code,{children:`client_open_loans`}),`, `,_jsx(_components.code,{children:`client_exposure`})]}),_jsxs(_components.td,{children:[`The bound you exceeded, and what in your request exceeded it. On the two client guards, `,_jsx(_components.code,{children:`observed`}),` is what the Client already holds: the Loans open, or the principal outstanding.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`field`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reference_reused`}),`, `,_jsx(_components.code,{children:`conflicting_registration`}),`, `,_jsx(_components.code,{children:`window_disagrees`})]}),_jsx(_components.td,{children:`The statement your repeat differs on.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recorded_id`})}),_jsx(_components.td,{children:`the same three`}),_jsx(_components.td,{children:`The record the reference, the identifier or the decision already names.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`recorded_value`}),`, `,_jsx(_components.code,{children:`stated_value`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_reused`})}),_jsxs(_components.td,{children:[`What the record says of `,_jsx(_components.code,{children:`field`}),` and what your request says, as the sentence renders them — `,_jsx(_components.code,{children:`none`}),` for nothing stated.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`the-request-identifier`,children:`The request identifier`}),`\n`,_jsxs(_components.p,{children:[`Every response carries `,_jsx(_components.code,{children:`Request-Id`}),` — successes, refusals and failures alike — and every refusal carries the same value as `,_jsx(_components.code,{children:`request_id`}),`. It is the identifier on the Platform’s own request log: quote it to name a request, above all a `,_jsx(_components.code,{children:`500`}),`, whose body says only that the request could not be served. You may send your own identifier in `,_jsx(_components.code,{children:`Request-Id`}),`; it comes back as `,_jsx(_components.code,{children:`Caller-Request-Id`}),` and is recorded beside the Platform’s, never in its place.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The catalogue of codes is append-only. A published code is never renamed and never reused for a different kind of refusal. Treat a code you do not recognise as a new refusal, not as a fault in your client.`})}),`\n`,_jsx(Heading,{level:`2`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`The request could not be read: bad JSON, an unknown field, a bad cursor or query parameter.`}),_jsx(_components.td,{children:`Fix the request. The message names the field.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The request carries no valid signature, or the key is revoked.`}),_jsxs(_components.td,{children:[`Check the key and the signed canonical string. See `,_jsx(_components.a,{href:`/authentication/api-keys`,children:`API keys`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is valid but not allowed to do this.`}),_jsx(_components.td,{children:`Use a key with the right scope, or the right tenant.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The route or the record does not exist under your tenant.`}),_jsxs(_components.td,{children:[`Check the path and the ids. Another tenant’s record answers the same `,_jsx(_components.code,{children:`404`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`405`})}),_jsx(_components.td,{children:`The route exists, the method does not.`}),_jsx(_components.td,{children:`Check the method in the reference.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`406`})}),_jsxs(_components.td,{children:[`The record stands in a state your `,_jsx(_components.code,{children:`Contract-Version`}),` does not know.`]}),_jsxs(_components.td,{children:[`State the version `,_jsx(_components.code,{children:`details.bound`}),` names. See the `,_jsx(_components.a,{href:`/changelog`,children:`changelog`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A fact already on record stands in the way. Nothing was written.`}),_jsx(_components.td,{children:`The message names the fact and how to clear it: retract it, reverse it, or send the recorded body again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`413`})}),_jsx(_components.td,{children:`The body is over the size limit.`}),_jsx(_components.td,{children:`Send less.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`415`})}),_jsxs(_components.td,{children:[`The body is not `,_jsx(_components.code,{children:`application/json`}),`.`]}),_jsxs(_components.td,{children:[`Set the `,_jsx(_components.code,{children:`Content-Type`}),` header.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The request was read, and a value in it is not acceptable.`}),_jsx(_components.td,{children:`The message names the field and the bound. Send a different request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`424`})}),_jsxs(_components.td,{children:[`A credit source was reached and did not answer. Nothing was recorded and the `,_jsx(_components.code,{children:`reference`}),` stays free.`]}),_jsxs(_components.td,{children:[`Read `,_jsx(_components.code,{children:`retry`}),`: `,_jsx(_components.code,{children:`as_is`}),` where the source’s failure is retryable — resubmit the same application under the same reference — and `,_jsx(_components.code,{children:`never`}),` where a resubmission meets the same failure; settle the outcome with the source first. `,_jsx(_components.code,{children:`details.attempt_id`}),` names the lookup.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`A rate limit or a source quota is spent.`}),_jsxs(_components.td,{children:[`Wait for the `,_jsx(_components.code,{children:`Retry-After`}),` header and send again.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`The Platform failed.`}),_jsxs(_components.td,{children:[`Retry with backoff. The code is always `,_jsx(_components.code,{children:`internal_error`}),`; quote `,_jsx(_components.code,{children:`request_id`}),` to an operator.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`The Platform is starting or draining.`}),_jsxs(_components.td,{children:[`Retry. The code is `,_jsx(_components.code,{children:`unavailable`}),`.`]})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`409`}),` is never a defect of your request. It says the record already holds something the request contradicts: a receipt on a loan you want to cancel, a cancellation under a reference you reused, a write-off in force. Read the message, act on the record, then send the request again.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`requests-and-access`,children:`Requests and access`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`malformed_request`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`The body is not valid JSON, repeats a key, or carries a field the route does not read. The message names it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_query`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A query parameter the route does not read, or one it cannot parse.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_cursor`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`cursor`}),` that is not one the Platform issued. Start the listing again.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_page_size`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`limit`}),` outside `,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`200`}),`. The default is `,_jsx(_components.code,{children:`50`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_context`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`context`}),` object with more than 16 keys, a key over 64 bytes, or over 4,096 bytes in all.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_idempotency_key`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`An `,_jsx(_components.code,{children:`Idempotency-Key`}),` that is not UTF-8, carries a NUL, or is over 255 bytes.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_contract_version`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`A `,_jsx(_components.code,{children:`Contract-Version`}),` that is not a published version, not a day, or stated twice. See the `,_jsx(_components.a,{href:`/changelog`,children:`changelog`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthenticated`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`No signature, a signature that does not verify, or a revoked key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_permitted_scope`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key does not carry the scope the route needs.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_permitted_tenant`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key belongs to another tenant than the path names.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`not_permitted_actor`}),`, `,_jsx(_components.code,{children:`not_permitted_role`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`At the Console door: the user is not a member, or not in the role the action needs.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_such_route`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`No route at this path.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`No such record under your tenant.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`method_not_allowed`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`405`})}),_jsx(_components.td,{children:`The route does not answer this method.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contract_version_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`406`})}),_jsxs(_components.td,{children:[`The record stands in a state your `,_jsx(_components.code,{children:`Contract-Version`}),` does not know. State the version in `,_jsx(_components.code,{children:`details.bound`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`idempotency_mismatch`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The same `,_jsx(_components.code,{children:`Idempotency-Key`}),` with a different request. Use a new key.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body_too_large`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`413`})}),_jsx(_components.td,{children:`The body is over the route’s limit.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unsupported_media_type`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`415`})}),_jsxs(_components.td,{children:[`The body is not `,_jsx(_components.code,{children:`application/json`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contended`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`Another write for the same client held its turn past two seconds. Nothing was written. `,_jsx(_components.code,{children:`retry`}),` is `,_jsx(_components.code,{children:`as_is`}),`: send it again.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`rate_limited`}),`, `,_jsx(_components.code,{children:`concurrency_limited`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests, or too many at once. Honour `,_jsx(_components.code,{children:`Retry-After`}),`. `,_jsx(_components.code,{children:`retry`}),` is `,_jsx(_components.code,{children:`as_is`}),`, and `,_jsx(_components.code,{children:`details.bound`}),` is the number in force for you: the rate per second, or the requests in flight. By default you are held to 16 in flight, 2 seconds of patience for a slot, 50 started per second and a burst of 100; `,_jsx(_components.a,{href:`/api-reference/bounds`,children:`read yours`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`internal_error`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`The Platform failed. Retry with backoff.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`The Platform is not serving yet. Retry.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`products`,children:`Products`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown_archetype`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`archetype`}),` is not `,_jsx(_components.code,{children:`instalment`}),`, `,_jsx(_components.code,{children:`bnpl`}),` or `,_jsx(_components.code,{children:`payday`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_field`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A required field is absent: `,_jsx(_components.code,{children:`id`}),` on a create, or a field of `,_jsx(_components.code,{children:`values`}),` the archetype requires. The message names it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`field_not_in_frame`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A field that belongs to another archetype.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`field_locked`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A field the archetype fixes, such as `,_jsx(_components.code,{children:`terms`}),` on a payday product. Remove it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`out_of_bounds`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A value outside the bound the `,_jsx(_components.a,{href:`/api-reference/product-configurations/create`,children:`endpoint page`}),` states for it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`inconsistent`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`Two values that contradict each other: amounts in two currencies, a minimum above its maximum, or a repeated entry in the term menu.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_schedule`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The wrong parameter for the schedule kind, grid days outside the month, a day stated on the product, or one kind admitted twice.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_rate`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A rate that is not an exact decimal percentage per year.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown_currency`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A currency code the Platform does not carry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_tenant`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`tenant_id`}),` in the path is not a valid identifier.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`lookup-keys`,children:`Lookup keys`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lookup_key_taken`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`The key names another version and the body did not state `,_jsx(_components.code,{children:`transfer: true`}),`. `,_jsx(_components.code,{children:`details.recorded_id`}),` is the product it names, `,_jsx(_components.code,{children:`details.recorded_value`}),` the version. Add `,_jsx(_components.code,{children:`transfer: true`}),` if you mean to move it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_configuration`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`No product with that `,_jsx(_components.code,{children:`configuration_id`}),` and version under your tenant.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_identifier`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`lookup_key`}),` is empty, over 64 characters, carries a character outside letters, digits, `,_jsx(_components.code,{children:`-`}),` and `,_jsx(_components.code,{children:`_`}),`, or is shaped like an identifier the Platform composes (`,_jsx(_components.code,{children:`inst-000001`}),`) or mints (a UUID).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_field`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The body names no `,_jsx(_components.code,{children:`configuration_id`}),` or no `,_jsx(_components.code,{children:`configuration_version`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`A read or removal of a key you do not hold, or removed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_query`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`The list named more than ten keys; `,_jsx(_components.code,{children:`details.bound`}),` is `,_jsx(_components.code,{children:`10`}),`.`]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Two codes are retired on this surface and are never reassigned. `,_jsx(_components.code,{children:`invalid_name`}),` was answered until 2026-09-11, when a product configuration stopped carrying a name. `,_jsx(_components.code,{children:`invalid_identifier`}),` and `,_jsx(_components.code,{children:`conflicting_configuration`}),` were answered for one day, 2026-09-11 to 2026-09-12, while a tenant stated its configuration’s identifier; the Platform composes it now, so neither can be raised on a configuration. `,_jsx(_components.code,{children:`invalid_identifier`}),` is unchanged on `,_jsx(_components.a,{href:`#clients`,children:`Clients`}),`, where it always belonged, and is answered for a `,_jsx(_components.a,{href:`#lookup-keys`,children:`lookup key`}),` — your own word, not a configuration’s identifier.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`clients`,children:`Clients`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_identifier`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`id`}),` is empty, over 64 characters, or carries a character outside letters, digits, `,_jsx(_components.code,{children:`-`}),` and `,_jsx(_components.code,{children:`_`}),`. `,_jsx(_components.code,{children:`details.bound`}),` is the pattern, `,_jsx(_components.code,{children:`^[A-Za-z0-9_-]{1,64}$`}),`, and `,_jsx(_components.code,{children:`details.observed`}),` the identifier’s length.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_label`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`label`}),` is empty, `,_jsx(_components.code,{children:`null`}),`, or over 200 characters. Leave it out instead.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conflicting_registration`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`id`}),` is registered with a different label. Replay the recorded body or correct the label.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`loans-issuance`,children:`Loans: issuance`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown_client`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`client_id`}),` is not registered under your tenant. Register it first.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unversioned`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`configuration_version`}),` is missing, not an integer, or `,_jsx(_components.code,{children:`\"latest\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_configuration`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`No product with that `,_jsx(_components.code,{children:`configuration_id`}),` and version under your tenant.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`term_refused`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The term is outside the product’s menu, the principal outside its range, a rate outside its corridor, or the schedule named is not one the version admits.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_term`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A term the product requires is absent, such as `,_jsx(_components.code,{children:`down_payment`}),` on a BNPL loan or `,_jsx(_components.code,{children:`schedule`}),` under a version admitting several.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`below_minimum_instalment`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The payment falls under the product’s `,_jsx(_components.code,{children:`minimum_instalment`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`penalty_rate_above_cap`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The penalty rate is over the market’s cap. In Mexico, twice the ordinary rate. `,_jsx(_components.code,{children:`details.bound`}),` is the cap at the Loan’s own rate, `,_jsx(_components.code,{children:`details.observed`}),` the penalty rate; `,_jsx(_components.a,{href:`/api-reference/markets/read`,children:`the market’s rules`}),` state the cap’s form.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`late_fee_beside_penalty`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The product has a late fee and the loan a penalty rate above zero. In Mexico a delay is charged once: drop the fee, or set the penalty corridor to zero.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_tax_rule`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`tax`}),` rule names a component the Platform does not charge, or has no rate.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax_rule_not_admitted`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`tax`}),` rule is not one of the rules the loan’s jurisdiction admits, or leaves out a component the version charges. The message names the jurisdiction and its rules.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_tax_rules`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The Platform asserts no tax for the loan’s jurisdiction.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`no_penalty_rule`}),`, `,_jsx(_components.code,{children:`incoherent_penalty_rule`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The market’s penalty rule is absent or contradicts itself for this loan.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`no_disclosure_rule`}),`, `,_jsx(_components.code,{children:`no_disclosure_rate`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The market has no disclosure rule, or the loan’s inputs give it no rate.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`no_fee_rule`}),`, `,_jsx(_components.code,{children:`no_equal_payment`}),`, `,_jsx(_components.code,{children:`empty_payment`}),`, `,_jsx(_components.code,{children:`ambiguous_flows`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The pricing engine cannot produce a plan from these terms. The message says which.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`rate_not_annual`}),`, `,_jsx(_components.code,{children:`invalid_basis`}),`, `,_jsx(_components.code,{children:`invalid_period`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A rate on the wrong basis, an unknown day count, or a period count of zero.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_date`}),`, `,_jsx(_components.code,{children:`invalid_cadence`}),`, `,_jsx(_components.code,{children:`invalid_series`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A date that does not exist, a cadence the calendar cannot step, or a schedule series it cannot build.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_jurisdiction`}),`, `,_jsx(_components.code,{children:`unknown_jurisdiction`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`jurisdiction`}),` is not a two-letter code, or not one the Platform serves.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`beyond_horizon`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A date of the plan runs past the holiday calendar. Shorten the term. `,_jsx(_components.code,{children:`details.bound`}),` is the last covered day — the `,_jsx(_components.code,{children:`calendar.horizon`}),` `,_jsx(_components.a,{href:`/api-reference/markets/read`,children:`the market’s rules`}),` answer — and `,_jsx(_components.code,{children:`details.observed`}),` the date asked about.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_reused`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`reference`}),` names a loan with a different body. `,_jsx(_components.code,{children:`details`}),` names the field that differs, both values and the loan.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`under-a-facility`,children:`Under a facility`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_required`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The product requires a facility and the request names none.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_facility`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`No facility with that id under your tenant.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_client`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The facility was granted to another client.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_product`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The facility was granted under another product.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_currency`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The facility is in another currency.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_rate`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The rate is outside what the facility allows.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_window`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The anchor is outside the facility’s window.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_headroom`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The principal exceeds what the facility has left.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_arrears`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A loan already under the facility is overdue. Settle it first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`facility_superseded`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The line was renewed by another line, and the anchor falls on or after the day the new line opens. Draw from the new line.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`decision_disagrees`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The credit decision named on the issuance was made for other terms.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`the-client-guards`,children:`The client guards`}),`\n`,_jsx(_components.p,{children:`Held at every issuance and preview where the configuration version states them, over the Client’s whole book on the anchor, whatever facility the Loan draws from.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client_open_loans`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The Client already holds as many open Loans as the version admits. `,_jsx(_components.code,{children:`details.bound`}),` is the count, `,_jsx(_components.code,{children:`details.observed`}),` the Loans open.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client_exposure`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The Loan would take the Client’s outstanding principal past the version’s cap. `,_jsx(_components.code,{children:`details.bound`}),` is the cap, `,_jsx(_components.code,{children:`details.observed`}),` what is outstanding.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client_overdue`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A Loan of the Client’s stands overdue — under the version’s guard, or on any draw from a line. Cure the arrears first.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`loans-acts`,children:`Loans: acts`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_event`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The date is missing, before the anchor, or before a fact still in force. The message names the day.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_retractable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The event is the issuance. Record a cancellation instead.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`already_cancelled`}),`, `,_jsx(_components.code,{children:`already_accelerated`}),`, `,_jsx(_components.code,{children:`already_written_off`}),`, `,_jsx(_components.code,{children:`already_ceded`}),`, `,_jsx(_components.code,{children:`already_retracted`}),`, `,_jsx(_components.code,{children:`already_reversed`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`The act already stands. The retry that answers `,_jsx(_components.code,{children:`200`}),` is the one under the recorded reference.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`acceleration_in_force`}),`, `,_jsx(_components.code,{children:`write_off_in_force`}),`, `,_jsx(_components.code,{children:`cession_in_force`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A fact stands that this act cannot follow. Retract it first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt_allocated`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`Money has reached the loan, so it cannot be cancelled. Reverse the receipts first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`acceleration_refused`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`Not enough periods are overdue, or notice was not given as the market requires.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`nothing_to_write_off`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The loan owes nothing. Reverse the receipt that settled it if it was an error.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rollover_not_provided`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The product states no `,_jsx(_components.code,{children:`rollover_fee`}),`. Issue under a version that does.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`nothing_to_roll_over`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The loan owes nothing on the date.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`overdue_on_rollover`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A period is overdue on the date. Settle it first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rollover_not_forward`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The date is at or before the last rollover in force.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rollover_limit_reached`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`One more rollover would exceed the product’s `,_jsx(_components.code,{children:`rollover_limit`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`return_not_provided`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The product is a Pay Day Loan, which has no purchase behind it, so nothing can be returned.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`return_exceeds_principal`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The returned amount is more than the outstanding principal on the date.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`undeterminable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`The loan’s record is in a state the question cannot be answered from. `,_jsx(_components.code,{children:`anomalies`}),` on the loan says why.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_act`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`No act was recorded under that reference. Read before you resend: `,_jsx(_components.a,{href:`/api-reference/loans/act`,children:_jsx(_components.code,{children:`GET /acts/{reference}`})}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`receipts`,children:`Receipts`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt_refused`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The receipt states too little to record: no amount, no date, or an election the body cannot carry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reversal_refused`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The reversal states too little to record.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_receipt`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`No receipt with that id under your tenant.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`no_allocation_rule`}),`, `,_jsx(_components.code,{children:`incoherent_allocation_rule`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The market’s allocation rule is absent or contradicts itself.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`outside_loan`}),`, `,_jsx(_components.code,{children:`outside_plan`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A date before the loan’s anchor, or past the end of its plan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_a_prepayment`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`An election on money that does not reach past every matured period.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unreachable_payment`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`No term can produce the payment the election asks for.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`out_of_range`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`An amount the Platform’s integer money cannot hold.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`company-profile`,children:`Company profile`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_profile`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`No profile has been stated yet. State one first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_statement`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The profile statement is incomplete or contradicts itself.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown_country`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A country the Platform does not serve.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_time_zone`}),`, `,_jsx(_components.code,{children:`no_time_zone`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A time zone that does not exist, or a profile that states none where one is needed.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`credit-policy-and-decisions`,children:`Credit policy and decisions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning and what to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`unknown_policy`}),`, `,_jsx(_components.code,{children:`unknown_version`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`No policy, or no such version of it, under your tenant.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_adoption`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The tenant has adopted no policy.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_decision`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`No decision with that id.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_approved`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The decision named is not an approval.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_application`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The application is missing a field the policy reads.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_outside_corridor`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The rate asked for is outside the policy’s corridor.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unknown_state`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A Mexican state code the Platform does not carry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_access`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The policy reads a credit source the tenant has not enabled.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_quota_spent`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`The source’s quota for the period is spent. Honour `,_jsx(_components.code,{children:`Retry-After`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_unavailable`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`424`})}),_jsxs(_components.td,{children:[`The source was reached and did not answer; nothing was recorded. `,_jsx(_components.code,{children:`retry`}),` says whether to resubmit and `,_jsx(_components.code,{children:`details.attempt_id`}),` names the lookup.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_creation`}),`, `,_jsx(_components.code,{children:`outside_window_bound`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A facility with an empty window, one longer than the bound, or a line asked of a decision that approved no `,_jsx(_components.code,{children:`limit`}),`. On `,_jsx(_components.code,{children:`outside_window_bound`}),`, `,_jsx(_components.code,{children:`details.bound`}),` is the window in days — the `,_jsx(_components.code,{children:`facility_window`}),` `,_jsx(_components.a,{href:`/api-reference/markets/read`,children:`the market’s rules`}),` answer — and `,_jsx(_components.code,{children:`details.observed`}),` the stated expiry’s distance from the decision’s day.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cannot_supersede`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`The line named in `,_jsx(_components.code,{children:`supersedes`}),` is not this client’s line for this configuration, or another line already renewed it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`window_disagrees`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[`The decision already granted a facility with a different window or a different `,_jsx(_components.code,{children:`context`}),`. `,_jsx(_components.code,{children:`details.recorded_id`}),` names it.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`reference_conflict`}),`, `,_jsx(_components.code,{children:`version_conflict`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The same reference names a different decision, or the policy moved under you. Read it again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client_barred`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The adoption enforces the credit bar and a recorded refusal bars the client on the day the application states. Nothing was recorded; the message names the day the bar lifts.`})]})]})]}),`\n`,_jsxs(Accordion,{title:`Codes answered at the Console door only`,id:`codes-answered-at-the-console-door-only`,children:[_jsx(_components.p,{children:`These are answered when a policy is authored or a credential is managed at the Console, and never by the tenant API.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`not_a_person`}),`, `,_jsx(_components.code,{children:`not_a_second_person`}),`, `,_jsx(_components.code,{children:`unattributed`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The action needs a signed-in person, a second distinct person, or an actor it can attribute.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy_name_taken`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A policy with this name exists.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version_sequence`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The version number is not the next one.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`digest_claim`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The signed digest does not match the policy text.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rejected_content`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The policy text is not one the lexicon accepts.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lexicon`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The declaration names a term the lexicon refuses.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`unconfirmed`}),`, `,_jsx(_components.code,{children:`already_confirmed`})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`422`}),`, `,_jsx(_components.code,{children:`409`})]}),_jsx(_components.td,{children:`The version is not yet confirmed by the second person, or already is.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_declaration`}),`, `,_jsx(_components.code,{children:`declaration_exists`}),`, `,_jsx(_components.code,{children:`declaration_withdrawn`}),`, `,_jsx(_components.code,{children:`unknown_declaration`}),`, `,_jsx(_components.code,{children:`declaration_limit`})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`422`}),`, `,_jsx(_components.code,{children:`409`}),`, `,_jsx(_components.code,{children:`422`}),`, `,_jsx(_components.code,{children:`404`}),`, `,_jsx(_components.code,{children:`422`})]}),_jsx(_components.td,{children:`An attribute declaration that is malformed, already stands, was withdrawn, does not exist, or would exceed the limit.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`no_credential`}),`, `,_jsx(_components.code,{children:`unadmitted_scope`}),`, `,_jsx(_components.code,{children:`already_revoked`}),`, `,_jsx(_components.code,{children:`invalid_lifetime`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`A source credential that is absent, out of scope, already revoked, or minted with a lifetime outside the bound.`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`retries`,children:`Retries`}),`\n`,_jsxs(_components.p,{children:[`Read `,_jsx(_components.code,{children:`retry`}),` rather than the status. The status still classes a code you do not know, roughly so:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Answer`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`retry`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409 contended`}),`, `,_jsx(_components.code,{children:`429`}),`, `,_jsx(_components.code,{children:`503`}),`, `,_jsx(_components.code,{children:`5xx`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`as_is`}),`, with backoff and `,_jsx(_components.code,{children:`retry_after`}),` where given.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409`}),` naming a fact on record`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`after_record`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409 reference_reused`}),`, `,_jsx(_components.code,{children:`422`}),`, `,_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`401`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`after_change`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`never`}),` for this key.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`424`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`as_is`}),` or `,_jsx(_components.code,{children:`never`}),`, by the source’s declared failure.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Requests that create records are safe to repeat as sent. An issuance, an act or a receipt repeated under its own `,_jsx(_components.code,{children:`reference`}),` answers `,_jsx(_components.code,{children:`200`}),` with the record on file — and where your response was lost, read the record by its reference before you resend. A product creation repeated under its `,_jsx(_components.code,{children:`Idempotency-Key`}),` answers the recorded outcome. See `,_jsx(_components.a,{href:`/api-reference/overview#what-is-safe-to-retry`,children:`What is safe to retry`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Errors","description":"Every status the API answers, every refusal code it publishes, and what to do about each.","noindex":true,"href":"/api-reference/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What to do next","slug":"what-to-do-next","depth":3,"children":[]},{"title":"Details","slug":"details","depth":3,"children":[]},{"title":"The request identifier","slug":"the-request-identifier","depth":3,"children":[]},{"title":"Status codes","slug":"status-codes","depth":2,"children":[]},{"title":"Requests and access","slug":"requests-and-access","depth":2,"children":[]},{"title":"Products","slug":"products","depth":2,"children":[]},{"title":"Lookup keys","slug":"lookup-keys","depth":2,"children":[]},{"title":"Clients","slug":"clients","depth":2,"children":[]},{"title":"Loans: issuance","slug":"loans-issuance","depth":2,"children":[{"title":"Under a facility","slug":"under-a-facility","depth":3,"children":[]},{"title":"The client guards","slug":"the-client-guards","depth":3,"children":[]}]},{"title":"Loans: acts","slug":"loans-acts","depth":2,"children":[]},{"title":"Receipts","slug":"receipts","depth":2,"children":[]},{"title":"Company profile","slug":"company-profile","depth":2,"children":[]},{"title":"Credit policy and decisions","slug":"credit-policy-and-decisions","depth":2,"children":[]},{"title":"Retries","slug":"retries","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"capcells","siteName":"Capcells","title":"Errors - Capcells","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T16:35:27.798Z","originalFileLocation":"api-reference/errors.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every status the API answers, every refusal code it publishes, and what to do about each.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Capcells\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors - Capcells\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every status the API answers, every refusal code it publishes, and what to do about each.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Capcells\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.capcells.com/api-reference/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://capcells.mintlify.site/_mintlify/api/og/v2?division=API+reference\u0026amp;title=Errors\u0026amp;description=Every+status+the+API+answers%2C+every+refusal+code+it+publishes%2C+and+what+to+do+about+each.\u0026amp;theme=d3142710fc8544e9e7332450\u0026amp;signature=faaded5686f7e0882c4baf83021ff14fbe045cda4383f8e85dbe0a92b0325206\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Errors - Capcells\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every status the API answers, every refusal code it publishes, and what to do about each.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://capcells.mintlify.site/_mintlify/api/og/v2?division=API+reference\u0026amp;title=Errors\u0026amp;description=Every+status+the+API+answers%2C+every+refusal+code+it+publishes%2C+and+what+to+do+about+each.\u0026amp;theme=d3142710fc8544e9e7332450\u0026amp;signature=faaded5686f7e0882c4baf83021ff14fbe045cda4383f8e85dbe0a92b0325206\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/capcells/chvwbOY9AxK_1Gh2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Capcells\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4c42ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.capcells.com/api-reference/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Capcells\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Capcells\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/errors.md","siteName":"Capcells","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"Working with the API","description":"The base URL, authentication, request conventions, the error shape, server timing, versioning, and what is safe to retry.","href":"/api-reference/overview"},{"title":"Errors","href":"/api-reference/errors"},{"title":"Model","description":"How money, dates and identifiers are written, and which figures the Platform derives rather than stores.","href":"/getting-started/model"},{"title":"Changelog","href":"/changelog"}]},{"group":"Request bounds","pages":[{"title":"Read your request bounds","api":"GET /v1/tenants/{tenant_id}/bounds","href":"/api-reference/bounds"}]},{"group":"Product configurations","icon":"sliders-horizontal","pages":[{"title":"Read the product archetypes","sidebarTitle":"Read the archetypes","api":"GET /v1/tenants/{tenant_id}/product-archetypes","href":"/api-reference/product-configurations/archetypes"},{"title":"Create a product configuration","sidebarTitle":"Create a configuration","api":"POST /v1/tenants/{tenant_id}/product-configurations","href":"/api-reference/product-configurations/create"},{"title":"Try a product configuration","sidebarTitle":"Try a configuration","api":"POST /v1/tenants/{tenant_id}/product-configurations/preview","href":"/api-reference/product-configurations/preview"},{"title":"List the product configurations","sidebarTitle":"List the configurations","api":"GET /v1/tenants/{tenant_id}/product-configurations","href":"/api-reference/product-configurations/list"},{"title":"Read a product configuration","sidebarTitle":"Read the latest version","api":"GET /v1/tenants/{tenant_id}/product-configurations/{id}","href":"/api-reference/product-configurations/read"},{"title":"Add a product configuration version","sidebarTitle":"Write a new version","api":"POST /v1/tenants/{tenant_id}/product-configurations/{id}/versions","href":"/api-reference/product-configurations/new-version"},{"title":"Try a product configuration version","sidebarTitle":"Try a new version","api":"POST /v1/tenants/{tenant_id}/product-configurations/{id}/versions/preview","href":"/api-reference/product-configurations/preview-version"},{"title":"Read a product configuration version","sidebarTitle":"Read one version","api":"GET /v1/tenants/{tenant_id}/product-configurations/{id}/versions/{number}","href":"/api-reference/product-configurations/read-version"}]},{"group":"Markets","icon":"globe","pages":[{"title":"Read a market's rules","api":"GET /v1/tenants/{tenant_id}/markets/{jurisdiction}","href":"/api-reference/markets/read"}]},{"group":"Lookup keys","icon":"tag","pages":[{"title":"Point a lookup key","api":"PUT /v1/tenants/{tenant_id}/product-lookup-keys/{lookup_key}","href":"/api-reference/product-lookup-keys/point"},{"title":"Read a lookup key","api":"GET /v1/tenants/{tenant_id}/product-lookup-keys/{lookup_key}","href":"/api-reference/product-lookup-keys/read"},{"title":"List lookup keys","api":"GET /v1/tenants/{tenant_id}/product-lookup-keys","href":"/api-reference/product-lookup-keys/list"},{"title":"Remove a lookup key","api":"DELETE /v1/tenants/{tenant_id}/product-lookup-keys/{lookup_key}","href":"/api-reference/product-lookup-keys/remove"}]},{"group":"Clients","icon":"users","pages":[{"title":"Register a client","api":"POST /v1/tenants/{tenant_id}/clients","href":"/api-reference/clients/register"},{"title":"List the clients","api":"GET /v1/tenants/{tenant_id}/clients","href":"/api-reference/clients/list"},{"title":"Read a client","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}","href":"/api-reference/clients/read"},{"title":"Correct a client's label","sidebarTitle":"Correct the label","api":"PATCH /v1/tenants/{tenant_id}/clients/{client_id}","href":"/api-reference/clients/correct"},{"title":"Read a client's receipts","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}/receipts","href":"/api-reference/clients/receipts"},{"title":"Read a client's obligations","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}/obligations","href":"/api-reference/clients/obligations"},{"title":"Read a client's payment options","sidebarTitle":"Read the payment options","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}/payment-options","href":"/api-reference/clients/payment-options"},{"title":"Read a client's book","sidebarTitle":"Read the book","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}/book","href":"/api-reference/clients/book"},{"title":"Read a client's book version","sidebarTitle":"Read the book version","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}/book-version","href":"/api-reference/clients/book-version"},{"title":"Read a client's statement","sidebarTitle":"Read a Client's statement","api":"GET /v1/tenants/{tenant_id}/clients/{client_id}/statement","href":"/api-reference/clients/statement"},{"title":"List what falls due on a day","api":"GET /v1/tenants/{tenant_id}/dues","href":"/api-reference/clients/dues"}]},{"group":"Merchants","icon":"store","pages":[{"title":"Read a merchant's book","api":"GET /v1/tenants/{tenant_id}/merchants/{merchant_ref}/book","href":"/api-reference/merchants/book"}]},{"group":"Company profile","icon":"building-2","pages":[{"title":"Read the company profile","api":"GET /v1/tenants/{tenant_id}/company-profile","href":"/api-reference/company-profile/read"},{"title":"State the company profile","api":"PUT /v1/tenants/{tenant_id}/company-profile","href":"/api-reference/company-profile/state"}]},{"group":"Credit policy","pages":[{"title":"List the credit policies","sidebarTitle":"List the policies","api":"GET /v1/tenants/{tenant_id}/credit-policies","href":"/api-reference/credit-policy/list"},{"title":"Read a credit policy version","sidebarTitle":"Read a policy version","api":"GET /v1/tenants/{tenant_id}/credit-policies/{policy}/versions/{version}","href":"/api-reference/credit-policy/version"},{"title":"Adopt a credit policy version","sidebarTitle":"Adopt a policy version","api":"PUT /v1/tenants/{tenant_id}/credit-policy-adoption/{configuration_id}","href":"/api-reference/credit-policy/adopt"},{"title":"Read a policy adoption","sidebarTitle":"Read the adoption","api":"GET /v1/tenants/{tenant_id}/credit-policy-adoption/{configuration_id}","href":"/api-reference/credit-policy/adoption"}]},{"group":"Attributes","pages":[{"title":"Read the attribute vocabulary","sidebarTitle":"Read the vocabulary","api":"GET /v1/tenants/{tenant_id}/attributes","href":"/api-reference/attributes/list"},{"title":"Read a declared attribute","api":"GET /v1/tenants/{tenant_id}/attributes/{local}","href":"/api-reference/attributes/read"},{"title":"Read the attribute lexicon","api":"GET /v1/tenants/{tenant_id}/attribute-lexicon","href":"/api-reference/attributes/lexicon"}]},{"group":"Credit decisions","pages":[{"title":"Decide an application","api":"POST /v1/tenants/{tenant_id}/credit-decisions","href":"/api-reference/credit-decisions/decide"},{"title":"Decide across a menu","api":"POST /v1/tenants/{tenant_id}/credit-decision-menus","href":"/api-reference/credit-decisions/menu"},{"title":"Read a credit decision","sidebarTitle":"Read a Decision","api":"GET /v1/tenants/{tenant_id}/credit-decisions/{decision_id}","href":"/api-reference/credit-decisions/read"},{"title":"Read a client's credit bar","sidebarTitle":"Ask whether a Client is barred","api":"GET /v1/tenants/{tenant_id}/credit-bar/{client_id}","href":"/api-reference/credit-decisions/bar"}]},{"group":"Facilities","pages":[{"title":"Create a facility","api":"POST /v1/tenants/{tenant_id}/facilities","href":"/api-reference/facilities/create"},{"title":"Read a facility","api":"GET /v1/tenants/{tenant_id}/facilities/{facility_id}","href":"/api-reference/facilities/read"},{"title":"List facilities","api":"GET /v1/tenants/{tenant_id}/facilities","href":"/api-reference/facilities/list"}]},{"group":"Loans","icon":"hand-coins","pages":[{"title":"Preview a loan","api":"POST /v1/tenants/{tenant_id}/loans/preview","href":"/api-reference/loans/preview"},{"title":"Issue a loan","api":"POST /v1/tenants/{tenant_id}/loans","href":"/api-reference/loans/issue"},{"title":"Read a loan","api":"GET /v1/tenants/{tenant_id}/loans/{loan_id}","href":"/api-reference/loans/read"},{"title":"List the loans","api":"GET /v1/tenants/{tenant_id}/loans","href":"/api-reference/loans/list"},{"title":"Read the loan event feed","sidebarTitle":"Read the event feed","api":"GET /v1/tenants/{tenant_id}/loan-events","href":"/api-reference/loans/events"},{"title":"Read a loan's serviced schedule","sidebarTitle":"Read the serviced schedule","api":"GET /v1/tenants/{tenant_id}/loans/{loan_id}/schedule","href":"/api-reference/loans/schedule"},{"title":"Read a loan's delinquency","sidebarTitle":"Read the delinquency","api":"GET /v1/tenants/{tenant_id}/loans/{loan_id}/delinquency","href":"/api-reference/loans/delinquency"},{"title":"Read a loan's statement","sidebarTitle":"Read a statement","api":"GET /v1/tenants/{tenant_id}/loans/{loan_id}/statement","href":"/api-reference/loans/statement"},{"title":"Read a loan's payoff quotes","api":"GET /v1/tenants/{tenant_id}/loans/{loan_id}/payoff-quotes","href":"/api-reference/loans/payoff-quotes"},{"title":"Record a payoff quote","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/payoff-quotes","href":"/api-reference/loans/record-payoff-quote"}]},{"group":"Loan actions","icon":"stamp","pages":[{"title":"Record a cancellation","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/cancellation","href":"/api-reference/loans/cancellation"},{"title":"Record an acceleration","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/acceleration","href":"/api-reference/loans/acceleration"},{"title":"Record a write-off","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/write-off","href":"/api-reference/loans/write-off"},{"title":"Record a rollover","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/rollover","href":"/api-reference/loans/rollover"},{"title":"Record a return","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/return","href":"/api-reference/loans/return"},{"title":"Record a cession","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/cession","href":"/api-reference/loans/cession"},{"title":"Record a suspension","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/suspension","href":"/api-reference/loans/suspension"},{"title":"End a suspension early","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/suspensions/{event_id}/end","href":"/api-reference/loans/suspension-end"},{"title":"Confirm a held loan","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/confirmation","href":"/api-reference/loans/confirmation"},{"title":"Void a held loan","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/void","href":"/api-reference/loans/void"},{"title":"Rescind a loan","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/rescission","href":"/api-reference/loans/rescission"},{"title":"Void a debt that was not the client's","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/void-not-the-clients","href":"/api-reference/loans/void-not-the-clients"},{"title":"Record a withdrawal","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/withdrawal","href":"/api-reference/loans/withdrawal"},{"title":"Waive a charge","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/waiver","href":"/api-reference/loans/waiver"},{"title":"Restructure a loan","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/restructuring","href":"/api-reference/loans/restructuring"},{"title":"Move a loan period","sidebarTitle":"Move a period","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/periods/{index}/move","href":"/api-reference/loans/move"},{"title":"Settle a loan for less","sidebarTitle":"Settle for less","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/settlement","href":"/api-reference/loans/settlement"},{"title":"Retract an event","api":"POST /v1/tenants/{tenant_id}/loans/{loan_id}/events/{event_id}/retraction","href":"/api-reference/loans/retraction"},{"title":"Read an act by its reference","api":"GET /v1/tenants/{tenant_id}/acts/{reference}","href":"/api-reference/loans/act"}]},{"group":"Receipts","icon":"receipt","pages":[{"title":"Report a receipt","api":"POST /v1/tenants/{tenant_id}/receipts","href":"/api-reference/receipts/report"},{"title":"Read a receipt","api":"GET /v1/tenants/{tenant_id}/receipts/{reference}","href":"/api-reference/receipts/read"},{"title":"Reverse a receipt","api":"POST /v1/tenants/{tenant_id}/receipts/{reference}/reversal","href":"/api-reference/receipts/reversal"}]},{"group":"Sources","icon":"database","pages":[{"title":"List the sources","api":"GET /v1/tenants/{tenant_id}/sources","href":"/api-reference/sources/list"},{"title":"Read the source ledger","api":"GET /v1/tenants/{tenant_id}/source-ledger","href":"/api-reference/sources/ledger"}]},{"group":"Console","icon":"user-cog","pages":[{"group":"Tenancy","pages":[{"title":"Read the tenancy","api":"GET /console/v1/tenancy","href":"/api-reference/console/tenancy/read"},{"title":"Read the country registry","api":"GET /console/v1/countries","href":"/api-reference/console/tenancy/countries"}]},{"group":"Keys","pages":[{"title":"Mint a key","api":"POST /console/v1/tenants/{tenant_id}/keys","href":"/api-reference/console/keys/mint"},{"title":"List the keys","api":"GET /console/v1/tenants/{tenant_id}/keys","href":"/api-reference/console/keys/list"},{"title":"Revoke a key","api":"POST /console/v1/tenants/{tenant_id}/keys/{fingerprint}/revocation","href":"/api-reference/console/keys/revoke"}]},{"group":"Credit policy","pages":[{"title":"Validate a policy candidate","api":"POST /console/v1/tenants/{tenant_id}/credit-policy-candidates","href":"/api-reference/console/credit-policy/validate"},{"title":"Publish a policy version","api":"POST /console/v1/tenants/{tenant_id}/credit-policy-versions","href":"/api-reference/console/credit-policy/publish"},{"title":"Confirm a policy version","api":"POST /console/v1/tenants/{tenant_id}/credit-policy-versions/{policy}/{version}/confirmation","href":"/api-reference/console/credit-policy/confirm"}]},{"group":"Credit decisions","pages":[{"title":"Resolve a referred decision","api":"POST /console/v1/tenants/{tenant_id}/credit-decisions/{decision_id}/resolution","href":"/api-reference/console/credit-decisions/resolve"}]},{"group":"Attributes","pages":[{"title":"Declare an attribute","api":"PUT /console/v1/tenants/{tenant_id}/attribute-declarations/{local}","href":"/api-reference/console/attributes/declare"},{"title":"Withdraw an attribute","api":"POST /console/v1/tenants/{tenant_id}/attribute-declarations/{local}/withdrawal","href":"/api-reference/console/attributes/withdraw"}]},{"group":"Sources","pages":[{"title":"Enable a source","api":"PUT /console/v1/tenants/{tenant_id}/sources/{source}/enablement","href":"/api-reference/console/sources/enable"},{"title":"Disable a source","api":"DELETE /console/v1/tenants/{tenant_id}/sources/{source}/enablement","href":"/api-reference/console/sources/disable"},{"title":"Supply a source credential","api":"POST /console/v1/tenants/{tenant_id}/sources/{source}/credentials","href":"/api-reference/console/sources/supply-credential"},{"title":"List a source's credentials","api":"GET /console/v1/tenants/{tenant_id}/sources/{source}/credentials","href":"/api-reference/console/sources/credentials"},{"title":"Revoke a source credential","api":"POST /console/v1/tenants/{tenant_id}/sources/{source}/credentials/{credential_id}/revocation","href":"/api-reference/console/sources/revoke-credential"}]}]}]}]},"basePath":"","title":"Errors - Capcells","deploymentId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","buildId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","dynamics":[],"chunks":[]}