Main Clover client wrapper.
const clover = createCloverClient({ apiToken: process.env.CLOVER_API_TOKEN!, merchantId: process.env.CLOVER_MERCHANT_ID, environment: 'sandbox',});const charge = await clover.payments.create({ amount: 1000, // $10.00 source: 'clv_1TSTStok...',}); Copy
const clover = createCloverClient({ apiToken: process.env.CLOVER_API_TOKEN!, merchantId: process.env.CLOVER_MERCHANT_ID, environment: 'sandbox',});const charge = await clover.payments.create({ amount: 1000, // $10.00 source: 'clv_1TSTStok...',});
Readonly
The environment this client operates in.
The configured merchant id, if any.
Main Clover client wrapper.
Example