LendEasy/Docs
Get API keys
API ReferenceLMS APIChargesAdd a loan charge

Add a loan charge

POSThttps://sandbox.api.lendeasy.ai/v1/loans/{loanId}/charges Bearer token · CREATE_LOANCHARGE

Applies a configured charge definition to the loan — a governed command requiring a LendEasy-Case header for human servicing calls when case management is enabled. Automated fees such as returned-payment fees are assessed by the system, not through this route.

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.
LendEasy-Case optional in headerstringOpen servicing-case reference for this borrower. Required on human servicing mutations when case management is enabled; automation never sends it.
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
chargeId requiredinteger
amount requiredintegerDecimal monetary amount encoded as a string.
dueDate requiredstring
dateFormat requiredstring
locale requiredstring
Unified search across guides, recipes & the API referenceEsc