Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (21 loc) · 539 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 539 Bytes

SMSPay.pl - NodeJS simple LIB

Implementation of smspay.pl for node.js

Usage:

$npm install worotyns/smspay

then:

var simpay = require('./'),
    simpayHandler = simpay.setSender({
      key: 'XX351e6c',
      secret: 'XX3ae0d4b3e06acda97524d7af20ecf8'
    });
    
    var code;
    code = new simpay.Code();
    code.code('E71EAD').setNumber('7355').serviceId('469');
    simpayHandler.status(code, function(err, response){
        console.log("err: "+ err, "| resp: "+ response);
    });