module KsAPIRefund

The file is loaded so as to refund the transaction Initialize the object's constructor first Refund could be Full or Partial transaction_id => The transaction id for which the refund is to be made(required in both Full and Partial payments) amount => The amount in case of partial refund currency_code => The currency code required in case of partial refund note => The description of the partial refund refund_type => The refund type 'Full' or 'Partial'