Hello
Am happy to announce today we have version 0.0.1 of Pesa SDK for PHP
Pesa SDK for PHP
Version 2 | Work in Progress 🚧
The Pesa SDK for PHP makes it easy for developers to access OpenAPI in their PHP code, and build robust applications and software using services like Customber 2 Bussiness, Query etc.
Documentation
Take a look at the API docs here.
Getting Started
-
Sign up for OpenAPI Portal – Before you begin, you need to sign up for an account and retrieve your credentials.
-
Minimum requirements – To run the SDK, your system will need to meet the minimum requirements, including having PHP >= 7.1.
-
Install the SDK – Using [Composer] is the recommended way to install the Pesa SDK for PHP. The SDK is available via [Packagist] under the
openpesa/php-pesa
package. If Composer is installed globally on your system, you can run the following in the base directory of your project to add the SDK as…
It supports the following features (via synchronous requests)
- customer to business (C2B) single payment
- business to customer (B2C) single payment
- payment reversals (pr)
- query transaction status
- direct debit creation (ddc)
- direct debit payments(ddp)
Currently, we only have SDK for PHP we are looking forward to supporting Javascript next.
Please find some documentation for the SDK, not much but its start, link at the bottom
If you have any questions or inquires, don’t hesitate
More testing is required, check and try the examples, feedback is highly appreciated,
PR are welcome, contributions are highly appreciated.
Links
Github Organisation: https://github.com/openpesa
Github repo: https://github.com/openpesa/php-pesa
Docs: https://php-pesa.netlify.app/
OpenAPI porttal: https://openapiportal.m-pesa.com
Top comments (0)