Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

mazzuma-node

A library for interaction with Mazzuma payment gateway

Installation

npm install mazzuma-node

Usage

Making a payment request

const mazzuma = require('mazzuma-node').mazzuma('api_key');
const requestPayment = mazzuma.create(mazzuma.MTN_TO_AIRTEL);

requestPayment.create({
    amount: 1,
    to: '',
    from: '',
}).then((response) => {

});

Checking transaction status

const mazzuma = require('mazzuma-node').mazzuma('api_key');
const status = mazzuma.transactionStatus('transaction_id');

status.then(response => {

});

Typings are also supplied as part of the library for your Typescript needs

About

A library for interaction with Mazzuma payment gateway

Resources

License

Releases

No releases published

Packages

No packages published