Payeer.com API client for Node.js
About
In general, this library is very similar to her PHP-sister, but written in Node.js-way and has some minor differences (but the same API).
Installation
$ npm install payeer
Usage
var Payeer = ; var accountId = 'P123456' apiId = '111222333' apiKey = 'TOPSECRETKEY'; Payeer;
API
Payeer.create(account, apiId, apiPass, debug, callback)
debug
- optional parameter. Useful for application debugging and resolving strange problems. Default:false
.
payeer.isAuth()
payeer.getPaySystems(callback)
payeer.initOutput(arr, callback)
payeer.output(callback)
payeer.getHistoryInfo(historyId, callback)
payeer.getBalance(callback)
payeer.getErrors()
payeer.transfer(arPost, callback)
payeer.setLang(language)
Default Payeer instance language is ru
.