Skip to main content

SendLoanOfferCommand

Overview

Sends a loan offer letter to a fully approved customer and records the action in the approval history. Typically called after FullyApproved status is reached and before disbursement is initiated.

Command Structure

{
"cmd": "SendLoanOfferCommand",
"data": "{\"loanRequestId\":110,\"comment\":\"Offer letter sent via email\"}"
}

Parameters

ParameterTypeRequiredDescription
loanRequestIdlongYesID of the loan application
commentstringNoNotes to record alongside the offer

Process

  1. Retrieves the loan quote by ID
  2. Records "Send Offer Letter" in the approval history
  3. Updates the loan quote record
  4. Persists changes

Response

{
"ok": true,
"statusCode": "00",
"message": "Loan offer sent successfully.",
"outData": {
"LoanRequestId": 110,
"comment": "Offer letter sent via email"
}
}

Lifecycle Position

FullyApproved

SendLoanOfferCommand ← here

SetDisbursementDetailsCommand

DisburseLoanRequestCommand