/kenswitch

A REST client to interact with a Socket based Web service

Primary LanguagePHP

KenSwitch API

Build Status Coverage Status License

KenSwitch API is a RESTful API that consumes a Web Service.

Usage

To download and use this project you need to have the following installed on your machine

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.

API features

  • Make Payment Request to Kenswitch Webservice
  • Persist Transaction Responses.
  • Transaction CRUD

API Documentation

Visit Postman Online Documentation

Testing

$ phpunit

Credits

KenSwitch API is maintained by Surajudeen AKANDE.

License

School is released under the MIT Licence. See the bundled LICENSE file for details.