compropago-node
v0.0.0
Published
>
Readme
compropago-node

Installation
$ npm install --save compropago-nodeUsage
// Set the compropago API Key
process.env.COMPROPAGO_API_KEY = 'your-key';
var Compropago = require('compropago-node');
// Create a charge
Compropago.Charge.create({})
.then(function (res) {
})
.catch(function (err) {
});
// Find a charge
Compropago.Charge.find(id)
.then(function (res) {
})
.catch(function (err) {
});
// Send payment instructions via sms
Compropago.Charge.createSMS({})
.then(function (res) {
})
.catch(function (err) {
});License
MIT © colin
