Pin.js is an node.js API client for Pin which is an Australian payment gateway. The module has wrapped all documented Pin resources.
Down under we don't have access to some of the cooler payment gateways so we are looking forward to Pin giving us more options than just Paypal.
npm install pinjs
First instantiate pinjs by passing in your api key
var Pin = ;var pin = Pin;// fields is an object, see the example for more infopinpinpinpinpinpin
This is the basic syntax of how to create a new charge, checkout the demos folder for the rest of the methods
Note: As of v1.0.2 the callback parameters have been updated. Please check the example bellow.
var Pin = ;var pin = Pin;pin;
Built by the team at API Engine.