globelabs-charging

0.0.8 • Public • Published

globelabs-charging Build Status

NPM

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.80latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i globelabs-charging

Weekly Downloads

0

Version

0.0.8

License

MIT

Last publish

Collaborators

  • bernardtolosa