Use RefundTransaction to make either full or partial refunds.
With RefundTransaction, you must always pass the values of TransactionId and RefundType.