balanced-client

0.0.4 • Public • Published

Balanced Client

A minimal client for the Balanced Payments API.

  • No new API: Just makes REST easier so that you can use the cURL documentation.
  • Real errors: Unlike balanced-official this returns bona fide JavaScript errors.

Installation

npm install balanced-client

Usage

var balanced = require('balanced-client').config('your_balanced_secret_here')
balanced.logErrors = true
 
balanced.get('/v1/customers', function(err, data) {
  console.log('your customers:', data)
})
  • Look in index.js, example.js and test.js for more info.

Readme

Keywords

none

Package Sidebar

Install

npm i balanced-client

Weekly Downloads

3

Version

0.0.4

License

BSD

Last publish

Collaborators

  • stereosteve