Official Balanced Payments API Client for node.js,

npm install balanced-official
2 downloads in the last day
17 downloads in the last week
193 downloads in the last month

Balanced Node.js library

Build Status

The official Node.js library for Balanced Payments.

The Balanced Payments API located here:

v1.x requires Balanced API 1.1.


The preferred way to install balanced for Node.js is to use the npm package manager for Node.js. Simply type the following into a terminal window:

npm install balanced-official

Basic Usage

var balanced = require('balanced-official');


var customer = balanced.marketplace.customers.create();

var card ={
    'number': '4111111111111111',
    'expiration_year': '2016',
    'expiration_month': '12',
     'cvv': '123'

    .then(function (debit) {
        // save the result of the debit
    }, function (err) {
        // record the error message

More examples


To run the tests in a terminal run

npm test

To run a specific test, you can do

node test/tests.js [test name]
npm loves you