I&M Collections Integration API Document
I&M Collections Integration API Document
pg. 1
Contents
About this document .............................................................................................................................. 3
Architecture ............................................................................................................................................ 3
Transaction flow.................................................................................................................................. 3
Service parameters. ................................................................................................................................ 4
Verification request. ........................................................................................................................... 4
Verification response. ......................................................................................................................... 4
Transaction request. ........................................................................................................................... 5
Transaction response. ......................................................................................................................... 5
pg. 2
About this document
This document gives information to corporates on how the bank will be sending collections and
expecting response so that they conform their ERPs as described in the subsequent chapters of this
document.
Architecture
Transaction flow
- Transactions will be originating from bank channels which include; Branch, RTGS,
MPESA and Pesalink.
- Business connect will query the core banking system for collections that have
occurred on various collection accounts configured for business connect transactions.
- Through the Corporate ERP integrator microservice (connector), collections will be
sent to the corporate’s ERP.
pg. 3
Service parameters.
All requests will be sent as a json string that will consist of parameters as described on the following
tables and sample json strings. Corresponding responses should also be in json format.
Verification request.
The table below shows the request body which the bank will be sending to a corporate’s ERP for
customer verification.
"customerid": "363736",
"apiusername": "username",
"apipassword": "XXXXXX"
Verification response.
The bank will be expecting a json string response consisting of parameters as shown on the following
table and sample json string.
"resultCode": 0,
"balance": 0,
"customerID": "363736",
pg. 4
}
Transaction request.
The following table shows the request body which the bank will be sending to a corporate’s ERP
"paymentmode": "TELLER",
“accountnumber”:”930393039”
"apiusername": "username",
"apipassword": "XXXXXX",
Transaction response.
The bank expects a json string response as described on the following tables and sample json strings
Successful transactions
pg. 5
"resultCode": 0,
"resultDesc": "Successful",
"erpRefId": "XXX902029"
"resultCode": 1,
pg. 6