Skip to main content

Cancel Disbursement Batch

Overview​

Cancels a disbursement batch. A batch can be cancelled at any point before it begins processing. Once cancelled, the batch cannot be reactivated and no disbursements will be made.

Command Details​

  • Command: CancelDisbursementBatchCommand
  • Type: Command (write operation)
  • Batch status requirement: Draft, PendingReview, Reviewed, or Rejected
  • Status on success: Cancelled
  • Permissions required: Disbursement Create

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
batchIdlongYesID of the batch
commentstringNoCancellation reason

Try It Out​

POST/api/bpm/cmdCancelDisbursementBatchCommand
Request Body

Response Structure​

{
"success": true,
"data": {
"batchId": 1024,
"status": "Cancelled",
"cancelledBy": "admin@bank.com",
"cancelledAt": "2026-03-08T15:00:00Z",
"comment": "Batch no longer needed"
},
"message": "Batch cancelled successfully"
}