node-transferto

0.1.8 • Public • Published

##Node-Transferto API Helper

=============== ###About TransferTo TransferTo is a Global Airtime Remittance Hub that interconnects mobile operators’ prepaid systems to deliver end-to-end, International Airtime Remittance services. TransferTo provides fast, convenient and reliable Mobile, Web, POS and white label solutions for Mobile Network Operators, MVNO's, Financial Institutions and Money Transfer Operators. With a global reach across six continents, TransferTo is the leading provider of International Airtime Remittances with a network of over 350 receiving Mobile Operators in 100+ countries

Example

method The method to call in the given section. params Parameters to pass to the API method. callback Callback function for returned data or errors with two parameters. The first one being an error object which is null when no error occured, the second one an object with all information retrieved as long as no error occured. Example:

var transfer = require('node-transferto')
var request = require('request')
var transferto = new transfer()

var url = transferto.geturl('data.action', data.number, data.amount, data.reservedId)

request.get({url: url}, function (err, resp, body) {
    if(err){console.log(err)}
    console.log(resp)
});

####available actions include

Reserve_id (Requires just the action variable to be set)
Topup (Requires action to be set to topup and an optional reserveId variable)
Simulation (Same as top-up but will not action request)

License

node-transferto is licensed under the MIT License. (See LICENSE)

Readme

Keywords

Package Sidebar

Install

npm i node-transferto

Weekly Downloads

4

Version

0.1.8

License

MIT

Last publish

Collaborators

  • luciandavies