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

    Interface CreateRefundOptions

    Options for creating a refund.

    interface CreateRefundOptions {
        amount?: number;
        chargeId: string;
        idempotencyKey?: string;
        reason?: string;
    }
    Index
    amount?: number

    Amount in cents. Omit for a full refund.

    chargeId: string

    The charge to refund

    idempotencyKey?: string
    reason?: string

    Reason for the refund