There is no license information available for the latest version (0.00.1) of this package.
Pay and get paid in Kenya
0.00.1
2024-01-31 10:11 UTC
This package is not auto-updated.
Last update: 2025-07-17 15:29:09 UTC
README
Composer package for PaidIn Africa (Kenya)
Installation
composer require paidinafrica/ke
Usage
Banks
The following banks and codes are currently supported Bank|Namespace|Code Cooperative bank| Coop | COOP NCBA Bank| Ncba | NCBA
Initiate STK Push
use PaidInAfrica\Providers\Banks; class PaymentService { public function sendPrompt($amount, $phone, $callbackUrl) { $config = [...other_keys, 'apiKey' => '']; $bank = Banks\Coop::make($config); $response = $bank->stkPush($amount, $phone, $callbackUrl); } }