LendEasy/Docs
Get API keys
API ReferenceLMS APIServicing actionsExecute a governed transaction command

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

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.
command required in querystringGoverned 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 headerstringOpen servicing-case reference for this borrower. Required on human servicing mutations when case management is enabled; automation never sends it.
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
transactionDate requiredstring
transactionAmount requirednumber
note requiredstring
dateFormat requiredstring
locale requiredstring
Unified search across guides, recipes & the API referenceEsc