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

Readme

Keywords

Package Sidebar

Install

npm i globelabs-charging

Weekly Downloads

0

Version

0.0.8

License

MIT

Last publish

Collaborators

  • bernardtolosa