Skip to main content

Retrieve Disbursement Sources

Overview​

Retrieves the list of available disbursement sources. These are the accounts or channels from which funds can be disbursed.

Command Details​

  • Command: RetrieveDisbursementSourcesQuery
  • Type: Query (read operation)
  • Permissions required: Disbursement View

API Endpoint​

POST /api/bpm/cmd

Request Structure​

This query takes no parameters. It returns all available disbursement sources.

Try It Out​

POST/api/bpm/cmdRetrieveDisbursementSourcesQuery
Request Body

Response Structure​

{
"success": true,
"data": [
{
"accountNumber": "0011234567",
"sourceAccountName": "Main Disbursement Account",
"sourceAccountCIF": "CIF001",
"sourceChannel": "INTERNAL",
"disbursementSourceAccountGroup": 1,
"sourceGroupDescription": "Primary Disbursement Pool",
"isEnabled": true
}
],
"message": "Disbursement sources retrieved successfully."
}

YAML Configuration​

Disbursement sources are configured in the Channel Configuration (CC config). Add entries under the disbursementSources key:

disbursementSources:
- accountNumber: '0011234567'
sourceAccountName: Main Disbursement Account
sourceAccountCIF: CIF001
sourceChannel: INTERNAL
disbursementSourceAccountGroup: 1
sourceGroupDescription: Primary Disbursement Pool
isEnabled: true
- accountNumber: '0019876543'
sourceAccountName: Payroll Disbursement Account
sourceAccountCIF: CIF002
sourceChannel: INTERNAL
disbursementSourceAccountGroup: 2
sourceGroupDescription: Payroll Pool
isEnabled: true
FieldTypeRequiredDescription
accountNumberstringYesSource account number
sourceAccountNamestringYesDisplay name for the source account
sourceAccountCIFstringNoCore banking CIF for the source account
sourceChannelstringNoChannel identifier (e.g. INTERNAL, NIBSS)
disbursementSourceAccountGroupintNoGroup number for categorising sources (default: 1)
sourceGroupDescriptionstringNoDescription of the source group
isEnabledboolNoWhether the source is available for new batches (default: true)
info

If no sources are configured in the CC config, the system falls back to the DisbursementBatchSource database table.