This performs a reversal of a fully-authorized transaction.
If you wish to reverse a transaction that was authorized for an amount less than the TransactionAmount, you must use the ReversePartialAuth method. The ReverseFullAuth method can only be used to reverse fully authorized transactions. This means that the AuthorizedAmount field from the original transaction Response was empty. You do not have to reverse the full TransactionAmount from the original transaction, you may reverse only part of that TransactionAmount if you so desire.
To reverse a transaction, simply set the TransactionAmount property to a value equal to or less than the original TransactionAmount, and call the ReverseFullAuth method with the TransactionId, ValidationCode, and ApprovalCode fields from the original transaction Response. For instance:
FDMSHealthCare1.TransactionAmount = "20000"; // $200.00 FDMSHealthCare1.Authorize(); FDMSHealthCare1.TransactionNumber++; FDMSHealthCare1.TransactionAmount = "20000"; FDMSHealthCare1.ReverseFullAuth(FDMSHealthCare1.Response.TransactionId, FDMSHealthCare1.Response.ValidationCode, FDMSHealthCare1.Response.ApprovalCode);
If you reverse a transaction for less than original TransactionAmount, you must update the Detail Record for the associated transaction to reflect the new settlement amount. If you reverse the entire amount the original transaction MUST NOT be sent in the settlement.
Please note that the ReversePartialAuth method is only applicable to healthcare (FSA card) transactions, and may not be used for regular credit card transactions.
.NET Standard Notes
To call this method in an asynchronous manner call ReverseFullAuthAsync instead. When the method completes (or an error is encountered) the ReverseFullAuthCompleted event will fire.