Process Remita Loan Rejection
Overview​
Processes the rejection of a loan request with notification to the borrower. This command handles the rejection workflow including sending notifications and updating all related records.
Command Details​
- Command:
ProcessRemitaRejectLoanCommand - Type: Command
API Endpoint​
POST /api/bpm/cmd
Request Structure​
| Field | Type | Required | Description |
|---|---|---|---|
id | long | Yes | ID of the loan request to reject |
comment | string | No | Reason for rejecting the loan request |
Try It Out​
POST
/api/bpm/cmdProcessRemitaRejectLoanCommandRequest Body
Response Structure​
{
"success": true,
"data": {
"id": 5001,
"status": "Rejected",
"comment": "Rejection processed",
"notificationSent": true,
"rejectedAt": "2026-03-09T12:00:00Z"
},
"message": "Loan rejection processed and borrower notified"
}
Related Operations​
- Reject Loan — Internal rejection command
- Approve Loan — Approve the loan request instead
- Retrieve Loan by ID — View loan request details