Record an external payment
POSThttps://sandbox.api.lendeasy.ai/v1/loans/{loanId}/payments/record-external Bearer token ·
RECORD_LMS_EXTERNAL_PAYMENTRecords money received outside LendEasy — lockbox, wire, import — without calling a payment rail. STAFF-sourced records require an evidence reference; a rationale is always required. Set postToFineract to false to record without posting, leaving the intent in RECORDED_EXTERNAL for reconciliation.
Path & query parameters
| Field | Type | Description |
|---|---|---|
| LendEasy-Tenant required in header | string | Tenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored. |
| loanId required in path | string | Stable opaque loan identifier. |
| Idempotency-Key optional in header | string | Optional 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
| Field | Type | Description |
|---|---|---|
| amount required | string | Decimal monetary amount encoded as a string. |
| currency required | string | ISO 4217 currency code. |
| effectiveDate required | string | Business-effective date in ISO 8601 format. |
| externalRecordRef required | string | |
| source required | string | System or actor that originated the record. |
| evidenceRef required | string | |
| rationale required | string |