Download the PHP package payherokenya/payhero-php without Composer
On this page you can find all versions of the php package payherokenya/payhero-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download payherokenya/payhero-php
More information about payherokenya/payhero-php
Files in payherokenya/payhero-php
Package payhero-php
Short Description This PHP client library enables easy interaction with the PayHero API, allowing developers to integrate PayHero's payment processing capabilities into their PHP applications. With this client, you can perform operations like checking wallet balances, topping up service wallets, initiating payments, and querying transaction statuses.To be able to generate API keys with Pay Hero to use our API services you need to create an account with us. Create an account using below link and verify your account to be able to proceed. Go To: https://app.payhero.co.ke
License MIT
Homepage https://github.com/PAY-HERO-KENYA/payhero-php-package.git
Informations about the package payhero-php
PayHeroAPI PHP Client
This PHP client library enables easy interaction with the PayHero API, allowing developers to integrate PayHero's payment processing capabilities into their PHP applications. With this client, you can perform operations like checking wallet balances, topping up service wallets, initiating payments, and querying transaction statuses.
To be able to generate API keys with Pay Hero to use our API services you need to create an account with us. Create an account using below link and verify your account to be able to proceed. Go To: https://app.payhero.co.ke
Features
- Wallet Balance Inquiry: Check the balance of service and payment wallets.
- Wallet Top-Up: Top up service wallets with a specified amount.
- Payment Processing: Send customer M-Pesa STK Push for payment collection.
- Transaction Status: Check the status of a specific transaction.
- Account Transactions: Retrieve a list of transactions for an account.
- SasaPay Payments: Process payments through SasaPay.
- Withdrawals: Withdraw funds to mobile or bank accounts via SasaPay.
Installation
To get started run this command in your terminal:
To use this PHP client in your project, simply include the PayHeroAPI
class in your PHP script.
Usage
Initializing the Client
Checking Wallet Balances
Topping Up Service Wallet
Sending Customer M-Pesa STK Push
Checking Transaction Status
Get Account Transactions
Processing SasaPay Payments
Making Withdrawals To Mobile
Making Withdrawals To Bank
Requirements
- PHP 7.0 or newer
- cURL support enabled in PHP
Contributing
Contributions to the PayHeroAPI PHP client are welcome. Please ensure that your code adheres to the existing style and that all tests pass.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Pay Hero Kenya LTD
Maintainers
Version
1.0.1