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
| Parameter | Type | Required | Description |
|---|---|---|---|
loanRequestId | long | Yes | ID of the loan application |
comment | string | No | Notes to record alongside the offer |
Process
- Retrieves the loan quote by ID
- Records
"Send Offer Letter"in the approval history - Updates the loan quote record
- 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