Download the PHP package akika/laravel-ncba without Composer
On this page you can find all versions of the php package akika/laravel-ncba. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download akika/laravel-ncba
More information about akika/laravel-ncba
Files in akika/laravel-ncba
Package laravel-ncba
Short Description The Laravel NCBA package allows you to transfer money through the NCBA Open Banking APIs. The package supports Laravel version 5 and above.
License MIT
Homepage https://github.com/Akika-Digital/laravel-ncba
Informations about the package laravel-ncba
Laravel NCBA Package by Akika Digital
The Laravel NCBA package allows you to transfer money through the NCBA Open Banking APIs. The package supports Laravel version 5 and above.
Installation
You can install the package via composer:
After installing the package, publish the configuration file using the following command:
This will import ncba.php config file in your project config directory where you can set your NCBA related parameters and other configuration options.
.env file Setup
Add the following configurations into your .env file
Package Upgrade
To upgrade Laravel NCBA Package to the latest version, run the following command
Usage
Initialize NCBA
- The above variables will be provided by NCBA during onboarding.
Authentication
An AP token is required to authenticate and use NCBA API's. Below is how to authenticate.
Account Details
Gets account details including account balance.
Mini Statement
Gets a mini statement for the account
Account Statement
Gets an account statement based on the the specified period of time. The date format is 'ddmmyyyy'
Check Transaction Status
Success Response
Below is a sample result for a successful transaction.
Below is a transaction successful result
Send Money to Another NCBA Customer (Internal Transfer)
IFT Payment rules
- The following rules apply when using the Laravel NCBA package
- Transaction can be settled in all major currencies, i.e. KES, UGX, TZS, RWF, EUR, GBP & USD.
- Settlement is immediate; real-time.
- Payments will be within country of origin, local b2b.
- Minimum payments of KES. 50 or its equivalent in other currency, no limit on Maximum payment.
- Transactions processing is 24/7 – 365, including weekends and public holidays.
Send Money to a Non-NCBA Customer (External Transfer)
EFT payment rules.
- Transaction can be settled in only in local currency, KES, UGX, TZS & RWF.
- Settlement is processed T+ 1 day.
- Payments will be within country of origin, local b2b.
- Minimum payments of KES. 50 or its equivalent in other currency and a maximum of KES. 999,999 or it’s equivalent in other local currency.
- Transactions processing is only on working days, Monday – Friday, excluding Weekends and Public Holidays.
Send Money via RTGS (External Transfer)
Payment Rules
- The following rules apply when using the Laravel NCBA package
- Transaction settled in KES, USD,GBP,EUR,TZS,UGX & RWF.
- Settlement is T+ 3hours on a working day, typically Monday – Friday before 15.00 HRS EAT.
- Payments will be within Country of Origin.
- Minimum payments of KES. 50 or its equivalent in any other acceptable currency with no maximum CAP.
- Purpose of Payment Code (POP) will be required for all outgoing payments - The list of POP codes to be maintained to be shared during onboarding.
Send Money via Pesalink (External Transfer)
Pesalink payment rules
- Transaction settled in KES only.
- Settlement is processed immediately.
- Payments will be within Kenya only.
- Minimum payments of KES. 50 or its equivalent in other currency and a maximum of KES. 999,999 or it’s equivalent in other local currency.
- Payments are settled 24/7-365, including weekends and public holidays.
Sample Responses
Successful Transaction Sample Response
Unsuccessful Transaction Sample Response
Transaction Status API Response
License
The Laravel NCBA package is open-sourced software licensed under the MIT license. See the LICENSE file for details.
All versions of laravel-ncba with dependencies
illuminate/support Version ^8.0 | ^9.0 | ^10.0 | ^11.0
illuminate/http Version ^8.0 | ^9.0 | ^10.0 | ^11.0
guzzlehttp/guzzle Version ^7.5