node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป


             Node.js Module for Simplify Commerce

What is it?

A Node.js module for the Simplify Commerce payments platform. If you have not already got an account sign up at


If you haven't done so, you first need to install the Simplify module. You can either download it at and install it from the binary. More easily, you can install it using node's package manager.

You can do so with the following command:

npm install simplify-commerce

Using the SDK

To run a payment though Simplify Commerce use the following script substituting your public and private API keys:

var Simplify = require("simplify-commerce"),
    client = Simplify.getClient({
      publicKey: 'YOUR_PUBLIC_API_KEY',
      privateKey: 'YOUR_PRIVATE_API_KEY'

  amount: "123123",
  description: "Node.js Sample Payment",
  card: {
    expMonth: "11",
    expYear: "19",
    cvc: "123",
    number: "5555555555554444"
  currency: "USD"
}, function(error, data) {

  if (error) {

  console.log("Payment Status: " + data.paymentStatus);

For more examples see


Please see LICENSE.txt for details.


For more detailed information on the API with examples visit the online documentation at


Please see for information.


Copyright (c) 2013 - 2017 MasterCard International Incorporated All rights reserved.