@bates-solutions/clover API Reference - v1.3.0
    Preparing search index...

    Class CloverClient

    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...',
    });
    Index
    customers: CustomersService
    inventory: InventoryService
    payments: PaymentsService
    • get merchantId(): string | undefined

      The configured merchant id, if any.

      Returns string | undefined