MyBankStatementEchannels Documentation
MyBankStatementEchannels Documentation
DOCUMENTATION
1. Authorization: SWAGGER URL http://172.31.250.7:8080/mbsEchannels/swagger-
ui.html#/security45controller
The endpoint above generates a token which will be passed as Header on all requests
APPID: testApp
APP SECRET: IiZHg3rMywzIA1TYGBIS
SWAGGER URL:
http://172.31.250.7:8080/mbsEchannels/swagger-ui.html#!/my45bank45statement45con
trollers/generateStatementUsingPOST
SAMPLE RESPONSE: {
"status": 200,
"message": "SUCCESS",
"result": [
{
"name": "Sterling Bank",
"category": "Commercial Bank",
"categoryId": "1",
"destinationId": 1
},
...
]
SAMPLE RESPONSE: {
"status": 200,
"message": "SUCCESS",
"result": [
{
"countryCode": "BF",
"country": "Burkina Faso"
},
]
}
passing in the required parameters will generate the statement, and billing details returned.
The details can be displayed to the customer for acceptance. Once the customer is set to
proceed.
{
"status": 200,
"message": "SUCCESS",
"result": {
"amount": 0.0,
"currency": "NGN",
"ticketNo": "1000011-36",
"noOfPages": 29
}
}
3. Make a call to the <SendStatement> endpoint which will debit the customer for the
statement charges,
SWAGGER URL:
http://172.31.250.7:8080/mbsEchannels/swagger-ui.html#!/my45bank45statement45con
trollers/sendStatementUsingPOST
send the statement to the destination and return a ticket Number for the request and a
base-64 encoded string.
This can then be converted into a file and made available for the customer to download. A
ticket notification will also be sent to the customer’s registered email address and phone
number.
{ "status": 200, "message": " SUCCESS ", "result": { "ticketNo": "1234567-3", "password":
"1234", "ticket": "base64 ticket" } }
4. To initiate a reference letter request, a call should be made to the <GetLetterType> endpoint
to list the available letter types and their charges.
SWAGGER URL:
http://172.31.250.7:8080/mbsEchannels/swagger-ui.html#!/my45bank45statement45con
trollers/generateReferenceLetterUsingPOST
SAMPLE RESPONSE
{“status": 200, "message": "SUCCESS", "result": { "amount": 1311.5, "currency": "NGN",
"ticketNo": "1234567-3", "noOfPages": 5 } }
The customer can then be charged for the selected letter type.
5. Call the <SendReferenceLetter> to take the charge and send the letter to the destination.
SWAGGER URL:
http://172.31.250.7:8080/mbsEchannels/swagger-ui.html#!/my45bank45statement45con
trollers/sendReferenceLetterUsingPOST
SAMPLE RESPONSE
{ "status": 200, "message": " SUCCESS ", "result": { "ticketNo": "1234567-3", "password":
"3539", "ticket": "base64 ticket" } }
As you can see above, the endpoint also returns a ticket number for the request as a base
64 string which can be converted to a file and displayed to the customer.