Skip to main content

Remita Collections API

Overview​

The Remita Collections API provides operations for managing loan repayment collections via the Remita payment platform. It supports batch-based collection workflows — creating batches of loan requests, authorizing them through a maker-checker flow, executing the collection run against Remita, and posting or reversing resulting transactions.

Available Commands​

#CommandTypeDescription
1CreateRemitaCollectionBatchCommandCommandCreate a new collection batch from loan requests
2AuthorizeRemitaCollectionBatchCommandCommandAuthorize a collection batch for execution
3RejectRemitaCollectionBatchCommandCommandReject a collection batch
4RunRemitaCollectionBatchCommandCommandExecute all collections in an authorized batch
5CancelRemitaCollectionBatchCommandCommandCancel a collection batch
6RetrieveRemitaCollectionBatchesQueryQueryList collection batches with filtering
7RetrieveRemitaCollectionBatchByIdQueryQueryGet a single collection batch by ID
8RetrieveRemitaCollectionsQueryQueryList individual collection records
9PostRemitaCollectionCommandCommandPost a successful collection transaction
10ReverseRemitaCollectionCommandCommandReverse a posted collection transaction

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 Remita Collections 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 collection permissions.

Collection Batch Lifecycle​

Collection Transaction Flow​