Skip to main content

Create NIBSS Collection Batch with Items

Overview​

Creates a collection batch and populates it with collection items in a single call. This is ideal when all collection items are known upfront, avoiding the need to create a batch and add items separately.

Command Details​

  • Command: CreateNibssCollectionBatchWithItemsCommand
  • Type: Command

API Endpoint​

POST /api/bpm/cmd

Request Structure​

FieldTypeRequiredDescription
batchNamestringYesHuman-readable name for the collection batch
batchDescriptionstringNoAdditional description for the batch
organisationIdlongYesID of the organisation owning this batch
narrationstringNoNarration shown on debit transactions
collectionTypeintNoCollection type identifier (default: 0)
collectionsarrayYesList of collection items to include
collections[].mandateIdlongYesID of the NIBSS mandate to collect against
collections[].amountdecimalYesAmount to collect
collections[].narrationstringNoPer-item narration
collections[].collectionDatestringNoScheduled collection date (ISO 8601)

Try It Out​

POST/api/bpm/cmdCreateNibssCollectionBatchWithItemsCommand
Request Body

Response Structure​

{
"response": {
"id": 2002,
"status": "Draft",
"itemCount": 2
},
"responseCode": "00",
"responseDescription": "Batch created with 2 items"
}