WayaWaya API PHP SDK
Installation
Composer
composer require osen/wayawaya
Manual
require_once('path/to/autoload.php');
Usage
Instantiate class
<?php
use Osen\Waya\Kplc;
Kplc::configure($credentials);
Available Services
Kenya Power Tokens
try {
$request = Kplc::tokens($account);
} catch (\Throwable $th) {
return $th->getMessage();
}
Kenya Power Postpay
try {
$request = Kplc::postpay($account);
} catch (\Throwable $th) {
return $th->getMessage();
}