0.0.8 • Published 9 years ago
globelabs-charging v0.0.8
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