auth-net-request

Authorize.net requests for Node.JS

npm install auth-net-request
16 downloads in the last week
44 downloads in the last month

Authorize.net Request

Dependency Status devDependency Status

Install

npm install auth-net-request

Usage

var AuthorizeRequest = require('auth-net-request');

var Request = new AuthorizeRequest({
  api: '123',
  key: '1234',
  cert: '/path/to/cert.pem',
  rejectUnauthorized: false, // true
  requestCert: true, // false
  agent: false // http.agent object
  sandbox: false // true
});

Request.send(<method>, <xml>, [xmlOptions], function(err, response) {});
npm loves you