Skip to main content

Disbursements API

Overview​

The Disbursements API provides a complete set of operations for managing batch fund transfers from a source account to multiple destination accounts. It supports the full batch lifecycle — from creation and validation through multi-level approval to final processing.

Available Commands​

#CommandTypeDescription
1InitiateDisbursementBatchCommandCommandCreate a new disbursement batch with entries
2AddDisbursementBatchEntryCommandCommandAdd an entry to an existing batch
3RemoveDisbursementBatchEntryCommandCommandRemove an entry from a batch
4ValidateDisbursementBatchCommandCommandValidate all destination accounts in a batch
5ConfirmDisbursementBatchCommandCommandConfirm a batch and move to pending review
6ReviewDisbursementBatchCommandCommandAccept a batch review
7RejectDisbursementReviewCommandCommandReject a batch at the review stage
8ApproveDisbursementBatchCommandCommandGive final approval to a batch
9RejectDisbursementApprovalCommandCommandReject a batch at the approval stage
10CancelDisbursementBatchCommandCommandCancel a batch
11DeleteDisbursementBatchCommandCommandPermanently delete a batch
12RetrieveDisbursementBatchesQueryQueryList batches with filtering and pagination
13RetrieveDisbursementBatchByIdQueryQueryGet a single batch by ID
14RetrieveDisbursementBatchEntriesQueryQueryList entries within a batch
15RetrieveDisbursementSourcesQueryQueryList available disbursement sources
16RetrieveDisbursementsQueryQueryList individual disbursement records

Common Request Pattern​

All commands and queries are sent as a POST to the unified BPM endpoint:

POST /api/bpm/cmd
Content-Type: application/json
Authorization: Bearer {token}

Request body:

{
"$type": "CommandOrQueryClassName",
// ...command-specific fields
}

Common Response Pattern​

Success:

{
"success": true,
"data": { },
"message": "Operation completed successfully"
}

Error:

{
"success": false,
"data": null,
"message": "Description of what went wrong",
"errors": ["Detailed error 1", "Detailed error 2"]
}

Authentication​

All Disbursements API requests require a valid Bearer token in the Authorization header. Tokens are obtained via the authentication endpoint and must belong to a user with the appropriate disbursement permissions.

Batch Lifecycle​