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

    Interface CreateChargeOptions

    Options for creating a charge (a payment).

    interface CreateChargeOptions {
        amount: number;
        capture?: boolean;
        currency?: CurrencyCode;
        description?: string;
        externalReferenceId?: string;
        idempotencyKey?: string;
        receiptEmail?: string;
        source: string;
    }
    Index
    amount: number

    Amount in cents

    capture?: boolean

    Capture the charge immediately. Set false to authorize only (capture later with payments.capture).

    true
    
    currency?: CurrencyCode

    ISO currency code (default: usd)

    description?: string

    Description shown on the charge

    externalReferenceId?: string

    Your own reference id (invoice/PO number)

    idempotencyKey?: string

    Idempotency key (defaults to a generated UUID)

    receiptEmail?: string

    Email address to send the receipt to

    source: string

    Tokenized payment source (a clv_… token)