Create a payment
POSThttps://sandbox.api.lendeasy.ai/v1/loans/{loanId}/payments Bearer token ·
CREATE_LMS_PAYMENTCreates 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
| 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 |
|---|---|---|
| instrumentId required | integer | |
| amount required | string | Decimal monetary amount encoded as a string. |
| currency required | string | ISO 4217 currency code. |
| rail required | string | |
| effectiveDate required | string | Business-effective date in ISO 8601 format. |
| source required | string | System or actor that originated the record. |