IntegrityPays API wrapper for Node.js, fully promisified
- Card Not Present
- Card tokenization (
StoreCardAsync
API) - Sale with card token (
ProcessCreditCardAsync
API) - Void sale (
ProcessCreditCardAsync
API)- Statuses accepted:
Approved
- Statuses accepted:
- Refund amount (
ProcessCreditCardAsync
API)- Statuses accepted:
Approved
- Statuses accepted:
- Card tokenization (
- Customer management
- Create (
ManageCustomerAsync
API) - Update (
ManageCustomerAsync
API) - GetCards (
GetCustomerPaymentMethodsAsync
API)
- Create (
git tag x.x.x
git push --tags
nom publish
var integrity = require('node-integritypays');
var conf = {
username: '_your_username_',
password: '_your_password_'
merchant: _your_merchant_,
environment: 'sandbox'
};
var Integrity = new integrity(conf);
See tests https://github.com/Starchup/node-integritypays/blob/master/test.js