Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 

node-simpay

node.js api for simpay.pl

var simpay = require('./simpay/index.js');

/*
	key - https://simpay.pl/panel/Client/API
	secret - https://simpay.pl/panel/Client/API
*/
var api = new simpay.API({key: '333333333333333333333333', secret: '2222222222222222222', version: '1'});

/*
	serviceId - identyfikator usługi premium sms
	number - numer na ktory wyslano sms 
	code - kod wprowadzony przez klienta

	isOk - true/false
	errorType - ERROR, USED, OK
	err - errory przez simpay
*/
api.getStatus({serviceId: '211', number: '7055', code: 'F713EE'}, function(isOk, errorType, err) {
	console.log(isOk);
	console.log(errorType);
	console.log(err);
});

About

node.js api

Resources

Releases

No releases published

Packages

No packages published