Clover Node.js Library
Please keep in mind that this package is for use with server-side Node that uses Clover secret keys. To maintain PCI compliance, tokenization of credit card information should always be done with [Clover.js][clover-js] on the client side. This package should not be used for that purpose.
See the Node API docs.
Install the package with:
npm install clover-ecomm-sdk --save
$ yarn install
The package needs to be configured with your account's secret key which is available in your [Clover Dashboard][api-keys]. Require it with the key's value:
const clover = 'ck_test_...';const customer = await clovercustomers;