KenSwitch API is a RESTful API that consumes a Web Service.
To download and use this project you need to have the following installed on your machine
- Composer Visit the official website for installation instructions.
- Laravel Valet Visit Laravel website for installation and setup instructions.
When you have completed the above processes, run:
$ git clone https://github.com/andela-sakande/kenswitch
to clone the repository to your working directory. This step presumes that you have git set up and running.
Run
$ composer install
to pull in the project dependencies.
Also run on terminal
php artisan migrate --seed
to configure your database.
Setup up a local webservice based on kenswitch.wsdl and add the URL to .env file e.g:
WSDL=http://localhost:8088/mockIPayment_Binding?WSDL
Now you are set up and ready to run.
- Make Payment Request to Kenswitch Webservice
- Persist Transaction Responses.
- Transaction CRUD
Visit Postman Online Documentation
$ phpunit
KenSwitch API is maintained by Surajudeen AKANDE
.
School is released under the MIT Licence. See the bundled LICENSE file for details.