Sarraf API
    Preparing search index...

    Interface RefundInput

    interface RefundInput {
        amount?: Money;
        idempotencyKey?: string;
        providerPaymentId: string;
        reason?: string;
        reference?: string;
    }
    Index
    amount?: Money

    Defaults to the full amount when the provider supports it.

    idempotencyKey?: string
    providerPaymentId: string
    reason?: string
    reference?: string

    Merchant reference of the original payment, used by providers that refund by order.