LendEasy/Docs
Get API keys
API ReferenceLMS APIChargesUpdate a charge definition

Update a charge definition

PUThttps://sandbox.api.lendeasy.ai/v1/charges/{chargeId} Bearer token · UPDATE_LMS_CHARGE

Replaces the charge definition aggregate. The finance-charge classification is immutable once set — only the legal basis may be corrected; APR treatment never changes retroactively.

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.
chargeId required in pathstringStable opaque charge 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
fineract requiredobject
namestring
currencyCodestring
amountintegerDecimal monetary amount encoded as a string.
chargeAppliesTointeger
chargeTimeTypeinteger
chargeCalculationTypeinteger
penaltyboolean
activeboolean
lmsConfig requiredobject
financeChargeFlagstring
legalBasisstring
Unified search across guides, recipes & the API referenceEsc