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.
npm install balanced-client
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
andtest.js
for more info.