Send checks from Lob in an easily scriptable manner
Last updated a year ago by tehshrike .
WTFPL · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lob-check 
SYNC missed versions from official npm registry.

A library for sending checks with Lob.

To use via the command-line, see lob-check-cli.


npm i lob-check
const lobCheck = require(`lob-check`)

checkPromise = lobCheck({ apiKey, address, check })

A function that expects an object with three properties.

  • apiKey: a Lob API key.
  • address: an address object. If there is an existing address with the same properties, that address will be used instead of creating a new address.
  • check: a check object to be created.

Properties will be automatically converted from camelCase to snake_case before sending to the API.

Returns a promise that resolves to the resulting check object.

You'll need to create the from address and bankAccount manually in the Lob Dashboard and pass those ids as string properties on the check object..


const lobCheck = require(`lob-check`)

const apiKey = process.env.LOB_API_KEY

	address: {
		name: `Accelerando Coffee House`,
		addressLine1: `7023 Cass Street`,
		addressCity: `Omaha`,
		addressState: `NE`,
		addressZip: `68132`,
	check: {
		from: `adr_2aa6e965740a9613`,
		bankAccount: `bank_647a2fce6ff7148`,
		amount: 420.69,
}).then(checkResponse => {
}).catch(err => {
	console.error(err.message || err)



Current Tags

  • 1.0.1                                ...           latest (a year ago)

2 Versions

  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |