Cancel Remita Loan Request
Overview​
Cancels a loan request. The loan must be in Created or PendingApproval status. Once cancelled, the loan request cannot be reactivated.
Command Details​
- Command:
CancelRemitaLoanRequestCommand - Type: Command
API Endpoint​
POST /api/bpm/cmd
Request Structure​
| Field | Type | Required | Description |
|---|---|---|---|
id | long | Yes | ID of the loan request to cancel |
comment | string | No | Reason for cancellation |
Try It Out​
POST
/api/bpm/cmdCancelRemitaLoanRequestCommandRequest Body
Response Structure​
{
"success": true,
"data": {
"id": 5001,
"status": "Cancelled",
"cancelledAt": "2026-03-09T15:00:00Z",
"comment": "Customer withdrew application"
},
"message": "Loan request cancelled successfully"
}
Related Operations​
- Create Loan Request — Create a new loan request
- Retrieve Loans — List all loan requests
- Retrieve Loan by ID — View loan details