LendEasy/Docs
Get API keys
API ReferenceLMS APIPaymentsCreate a payment

Create a payment

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

Creates a payment intent against a verified, borrower-owned instrument and submits it to the selected rail. The amount plus other in-flight intents may not exceed the loan’s total outstanding, and PAYMENT_HOLD restrictions block creation. Reusing an Idempotency-Key with a different payload fails with a fingerprint mismatch.

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.
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
instrumentId requiredinteger
amount requiredstringDecimal monetary amount encoded as a string.
currency requiredstringISO 4217 currency code.
rail requiredstring
effectiveDate requiredstringBusiness-effective date in ISO 8601 format.
source requiredstringSystem or actor that originated the record.
Unified search across guides, recipes & the API referenceEsc