Actionpay API
API integration with Actionpay
Install
$ npm install actionpay-api
Get Api Key
Usage
"use strict";
let Actionpay = require("actionpay-api"),
actionpay = new Actionpay("api key", "source id");
actionpay.programs((err, result) => {
console.log(result);
});
actionpay.notices((err, result) =>{
console.log(result);
});
actionpay.coupons("<ID>", (err, result) => {
console.log(result);
});
actionpay.report("2016-10-01", "2016-11-18", (err, result) =>{
console.log(result);
});
actionpay.reportdetails("2016-10-01", "2016-11-18", "date", 1, (err, result) => {
console.log(result);
});
actionpay.deeplink("http://www.anita.com.br/", 5784, (err, url) => {
console.log(url);
});