technolix / kudaopen_api_php
This is a Library for Kudabank Open api php feal free to contrbute
v1.0.0
2022-10-04 11:14 UTC
Requires
- guzzle/guzzle: ^3.9
- guzzlehttp/guzzle: ^7.5
README
This is a simple php library for kuda open Api
Installation
Initialize the Project With Composer
composer require technolix/kudaopen_api_php
Usage/Examples
Initialize
require "vendor/autoload"; // $environment = "DEVELOPMENT" || "PRODUCTION"; $environment = "DEVELOPMENT"; $Kudabank = (new KudabankController) ->Initialize("emmanuelonyo34@gmail.com", "6PZFIceatyxJAq9T4pd2", $environment);
Fetch Available Banks
// Fetch all Nigerian Banks $Kudabank->bank_list()
Generate Virtual Account
$data = [ "email"=> 'emmanuelonyo34@gmail.com', "phoneNumber"=>"08074224016", "lastName"=>"Onyo", "firstName"=>"Emmanuel", "trackingReference"=> "12456522155421" ]; $Kudabank->create_virtual_account($data);
PLEASE CCHECK THE EXAMPLE FILES FOR MOR INFO
Documentation/API reference
Buy me a coffee
I need Employment you can contact me via +2348102937785 emmanuelonyo34@gmail.com