Delete Disbursement Batch
Overview​
Permanently deletes a disbursement batch and all its associated entries. This action is irreversible. Only batches in Draft or Cancelled status can be deleted.
Command Details​
- Command:
DeleteDisbursementBatchCommand - Type: Command (write operation)
- Batch status requirement:
DraftorCancelled - Permissions required: Disbursement Create
API Endpoint​
POST /api/bpm/cmd
Request Structure​
| Field | Type | Required | Description |
|---|---|---|---|
batchId | long | Yes | ID of the batch |
Try It Out​
POST
/api/bpm/cmdDeleteDisbursementBatchCommandRequest Body
Response Structure​
{
"success": true,
"data": {
"batchId": 1024
},
"message": "Batch deleted permanently"
}
Related Operations​
- Cancel Disbursement Batch — Cancel a batch before deleting
- Retrieve Disbursement Batches — List batches to find the one to delete