Pwinty api for Node.js
Pwinty API for Node.js is a library for communicating with the Pwinty API. It uses standard callbacks, you can easily wrap in a promises/generator library of your choosing.
Installation
$ npm install pwinty
Quick Start
Init pwinty with your api credentials and host (sandbox/live):
var pwinty = 'apiKey' 'merchantId' 'https://sandbox.pwinty.com:443';
Then access the pwinty methods:
Create an order
var orderParams = {};pwinty