Execute a governed transaction command
POSThttps://sandbox.api.lendeasy.ai/v1/loans/{loanId}/transactions Bearer token ·
Per command (native permission, maker-checker configurable)Executes one of 19 governed transaction commands selected by the command parameter — interest waivers, write-off and charge-off with their undos, close, foreclosure, refunds and credits, recovery payment, re-age, and re-amortize. Human servicing calls require a LendEasy-Case header naming an open case for this borrower when case management is enabled; each execution writes a governance record and maker-checker may park the command for a second approver. Repayments and disbursements are not accepted here — money moves through the payment and funding APIs.
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. |
| command required in query | string | Governed transaction command to execute. One of waiveinterest · interestPaymentWaiver · writeoff · undowriteoff · charge-off · undo-charge-off · close · foreclosure · goodwillCredit · merchantIssuedRefund · payoutRefund · chargeRefund · creditBalanceRefund · refundByCash · recoverypayment · reAge · undoReAge · reAmortize · undoReAmortize. |
| LendEasy-Case optional in header | string | Open servicing-case reference for this borrower. Required on human servicing mutations when case management is enabled; automation never sends it. |
| 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 |
|---|---|---|
| transactionDate required | string | |
| transactionAmount required | number | |
| note required | string | |
| dateFormat required | string | |
| locale required | string |