@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Interface CreateRefundOptions

    Options for creating a refund.

    Provide either paymentIntentId or chargeId.

    interface CreateRefundOptions {
        amount?: number;
        chargeId?: string;
        idempotencyKey?: string;
        metadata?: Record<string, string>;
        paymentIntentId?: string;
        reason?: RefundReason;
    }
    Index
    amount?: number

    Amount to refund in the smallest currency unit. Omit for a full refund.

    chargeId?: string

    Charge to refund

    idempotencyKey?: string
    metadata?: Record<string, string>
    paymentIntentId?: string

    PaymentIntent to refund

    reason?: RefundReason

    Reason for the refund