LendEasy/Docs
Get API keys
API ReferenceLMS APIStatementsRegenerate a statement

Regenerate a statement

POSThttps://sandbox.api.lendeasy.ai/v1/loans/{loanId}/statements/{statementId}/regenerate Bearer token · REGENERATE_LMS_STATEMENT

Creates a corrected replacement for a COMPLETED statement with a closed reason code — SOURCE_DATA_CORRECTION, TEMPLATE_CORRECTION, COMPLIANCE_CORRECTION, OPERATIONAL_RECOVERY, or OTHER (comment required). The source statement becomes SUPERSEDED only when the replacement completes.

Path & query parameters

FieldTypeDescription
LendEasy-Tenant required in headerstringTenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored.
loanId required in pathstringStable opaque loan identifier.
statementId required in pathstringStable opaque statement identifier.
Idempotency-Key optional in headerstringOptional stable key (1-50 chars) for this one logical mutation. Replays of a completed request return the original result with x-served-from-cache: true; an in-flight duplicate returns 409 with Retry-After. Omitted keys are server-generated per attempt.

Body parameters

FieldTypeDescription
reasonCode requiredstringConfigured structured reason code.
comment requiredstring
Unified search across guides, recipes & the API referenceEsc