LendEasy/Docs
Get API keys
API ReferenceLMS APILoansCreate a loan application

Create a loan application

POSThttps://sandbox.api.lendeasy.ai/v1/loans Bearer token · CREATE_LOAN

Creates a loan application for a customer against an active product; the clientId is the numeric value of the LendEasy customerId. Dates are parsed with the supplied dateFormat and locale. With command=calculateLoanSchedule the same body returns the computed amortization schedule — periods and totals — without persisting anything, which is how schedules are previewed before origination.

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.
command optional in querystringOmit to create the application; calculateLoanSchedule returns a non-persisting schedule preview. One of calculateLoanSchedule.
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
clientId requiredinteger
productId requiredinteger
loanType requiredstring
principal requiredinteger
loanTermFrequency requiredinteger
loanTermFrequencyType requiredinteger
numberOfRepayments requiredinteger
repaymentEvery requiredinteger
repaymentFrequencyType requiredinteger
interestRatePerPeriod requirednumber
interestType requiredinteger
interestCalculationPeriodType requiredinteger
amortizationType requiredinteger
transactionProcessingStrategyCode requiredstring
expectedDisbursementDate requiredstring
submittedOnDate requiredstring
externalId requiredstringCaller-controlled identifier unique within the tenant and resource type.
dateFormat requiredstring
locale requiredstring
charges requiredarray<object>
chargeIdinteger
amountintegerDecimal monetary amount encoded as a string.
Unified search across guides, recipes & the API referenceEsc