2.1.0-rc.1 • Published 5 years ago

payouts-js v2.1.0-rc.1

Weekly downloads
18
License
ISC
Repository
github
Last release
5 years ago

Payouts API node.js bindings

2.0 Breaking Changes

The setApiKey and setApiHost not longer mutate the original instance, instead they return a new instance of Payouts with the apiKey or host changed.

Initialize

var Payouts = require('payouts-js')({
  apiKey: 'your api key'
});

Payouts.recipient.get({
  recipient_id: 'id of recipient'
}, function(err, recipient){
  ...
});

Reset API key

// set api key
const newPayouts = Payouts.setApiKey('your api key');

Other

// set host of payouts instance if necessary
const newPayouts = Payouts.setApiHost('host of payouts instance');
2.1.0-rc.1

5 years ago

2.1.0

6 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.6.0-pre.3

8 years ago

1.6.0-pre.2

8 years ago

1.6.0-pre.1

8 years ago

1.4.0

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago