Intuit payment API for processing eCheck and Credit Card transactions.
This module lets you add, remove, charge, and refund Credit Cards & eChecks using Intuit in your Node.js applications.
$ npm i -s git+ssh://[email protected]:Villa-Rentals/intuit-payment-sdk.git
The Intuit Quickbooks Payment API authenticates using the OAuth 2.0 tokens previously provided (see passport-intuit for more information on getting these tokens). The SDK requires the version of the API along with a flag for production or development access.
new Intuit({
production: false,
version: 'v4'
});
See the documentation for more information about the SDK.
The access_token and realmId are required for the tests to pass. These can be obtained through the OAuth 2.0 authentication procedure. Once these tokens have been acquired, create a .env file from the .env.example file and provide the tokens. These will be used to authenticate your requests.
$ npm install --dev
$ npm test