1.1.3 • Published 4 years ago

node-usaepay v1.1.3

Weekly downloads
49
License
-
Repository
github
Last release
4 years ago

node-usaepay

USAEPay API wrapper for Node.js, fully promisified

Initialization

var usaepay = require('node-usaepay');
var conf = {
    key: '_your_key_',
    pin: '_your_pin_'
    urlsuffix: _you_url_key_,
    environment: 'sandbox'
};
var USAEpay = new usaepay(conf);

Usage

USAEpay.Card.Create(
{
    cardNumber: 'xxxxxxxxxxxxxxxx',
    exp: 'xx/xx',
    cvv: 'xxx',
    firstName: 'x',
    lastName: 'x',
    address: 'x',
    zipcode: 'xxxxx'
});
USAEpay.Card.Sale(
{
    foreignKey: __your_card_id__,
    amount: 1
});
1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago