bridgewaveconnect
v1.1.0
Published
BridgeWaveConnect: Seamlessly integrate M-Pesa Daraja API & enhance connectivity. Simplify mobile finance development.
Downloads
15
Maintainers
Readme
Bridgewave Connect
Bridgewave Connector is a versatile library designed to seamlessly integrate with the M-Pesa Daraja API while offering robust connectivity solutions. Empowering developers with streamlined access to M-Pesa's mobile money services, BridgeWaveConnector serves as the essential bridge between your application and the world of digital transactions.
Table of Contents
Installation
To install BridgeWaveConnector, you can use npm , yarn or pnpm:
npm install bridgewaveconnect
yarn add bridgewaveconnect
pnpm install bridgewaveconnect
Usage
Once installed, you can import BridgeWaveConnector into your project and start using it to integrate with the M-Pesa Daraja API. Here's a basic example:
const BridgeWaveConnector = require('bridgewaveconnect');
// Initialize BridgeWaveConnector with your API credentials
const connector = new BridgeWaveConnector({
apiKey: 'YOUR_API_KEY',
apiSecret: 'YOUR_API_SECRET'
});
// Use BridgeWaveConnector methods to perform M-Pesa transactions
connector.sendMoney({
recipient: '+254XXXXXXXXX',
amount: 1000,
message: 'Payment for services'
})
.then(response => console.log(response))
.catch(error => console.error(error));
For detailed usage instructions and API documentation, please refer to the full documentation.
Features
- Seamless integration with M-Pesa Daraja API.
- Simplified mobile finance development.
- Secure handling of API credentials.
- Robust connectivity solutions.
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
License
This project is licensed under the MIT License - see the License file for details.