@suluk/payments - v0.1.0
    Preparing search index...

    Interface RefundRequest

    interface RefundRequest {
        merchantRefundId: string;
        connectorTransactionId: string;
        refundAmount: MinorAmount;
        paymentAmount: number;
        reason?: string;
        testMode?: boolean;
    }
    Index

    Properties

    merchantRefundId: string
    connectorTransactionId: string
    refundAmount: MinorAmount
    paymentAmount: number

    the ORIGINAL payment amount (minor units) — some processors require it to compute a partial refund.

    reason?: string
    testMode?: boolean