New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

itransact-node

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itransact-node

This is an SDK for authenticating with iTransact's API

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
14
27.27%
Maintainers
3
Weekly downloads
 
Created
Source

iTransact SDK for NodeJS

As a quick helper for our NodeJS community to get up and running even faster in your favorite dependency manager, we have created this API / SDK wrapper specifically tailored for NodeJS and Express.

More details at iTransact Developer API

Features

  • NodeJS

Usage

If there is a platform you would like to see in addition to npm for dependency management, let us know.

NPM Install

Run the following command at the root fo your project

npm install itransact-node

iTransact SDK on NPM

Manual Install

Download the zip, or use git submodules to pull the SDK into your project.

Import Example

Here is an example implementation:

With NPM

Coming soon

Without NPM

Coming soon

Example Response

Example successful postResult using the example above will return a 201 with the following fields / value types:

{
  "id": "string",
  "amount": 0,
  "status": "string",
  "settled": "string",
  "instrument": "string",
  "metadata": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "payment_source": {
    "name": "string",
    "default": "string",
    "type": "string",
    "expired": "string",
    "month": "string",
    "year": "string",
    "brand": "string",
    "last_four_digits": "string",
    "sec_code": "string"
  },
  "credits": {
    "amount": 0,
    "state": "string"
  },
  "credited_amount": "string"
}

Check out the files in /examples for other ideas for implementation.

Testing

Unit tests on this project are run using Mocha. You can find each test in the /tests folder.

Keywords

itransact

FAQs

Package last updated on 04 Aug 2017

Related posts