Skip to main content

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​

FieldTypeRequiredDescription
idlongYesID of the loan request to reject
commentstringNoReason for rejecting the loan request

Try It Out​

POST/api/bpm/cmdProcessRemitaRejectLoanCommand
Request 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"
}