Pay and get paid in Kenya
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/paidinafrica/ke
This package is not auto-updated.
Last update: 2025-12-04 17:19:24 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); } }