globelabs-charging
v0.0.8
Published
simple wrapper for globelabs charging API
Downloads
5
Readme
globelabs-charging
Simple wrapper for globelabs charge api
Installation
npm install globelabs-charging
Setup
var Charge = require('globelabs-charging');
Usage
var charge = Charge(token);
var options = {
amount: '1.00',
subscriberMobile: '09151111111',
referenceCode: '001',
description: 'hello'
};
charge.send(options, function(err, transaction) {
//do things here
});
see: globelabs-api for charging docs