A Node.js library for integrating with the Checkbook.io API to send digital, physical, and direct checks, manage invoices and subscriptions, and handle ACH payments. Version 1.0.0 is stable with a callback-based API. Requires Node >=4, no external runtime dependencies. Key differentiators: supports multiple check types (digital, physical, direct), CSV batch sending, idempotency keys, and OAuth bearer tokens. Release cadence is unknown. Alternatives include direct REST calls or other libraries, but this is the official Checkbook.io wrapper.
npm install checkbook-api-tsVerified import paths — ran on the pinned version, not inferred.
Initializes the Checkbook.io client with demo credentials and sends a digital check via callback.
Wrap with new Promise: new Promise((resolve, reject) => Checkbook.checks.sendDigitalCheck(params, (err, res) => err ? reject(err) : resolve(res)))
Always specify env when using test credentials: env: 'demo'
Use bearer in constructor: new CheckbookAPI({ bearer: '...', env: 'demo' })Call method with three arguments: sendDigitalCheck(params, callback, idempotencyKey)
Use const CheckbookAPI = require('checkbook-api');Add env: 'demo' to the constructor options.
Provide a callback function as the last argument.
No dependency data recorded yet.