This performs a reversal of a partially-authorized transaction.
If an FSA card is authorized for an amount less than the TransactionAmount, the customer must use another form of payment for the remainder. If the customer does not have any other funds, the transaction that was just authorized may be reversed and the funds returned to the FSA card. To reverse a transaction, you need to set the TransactionAmount property with the AuthorizedAmount from the partially-authorized transaction, and then pass the TransactionId, ValidationCode, and ApprovalCode to this method. The following example shows how to reverse immediately after receiving a partial authorization.
FDMSHealthCare1.TransactionNumber++; FDMSHealthCare1.TransactionAmount = FDMSHealthCare1.Response.AuthorizedAmount; FDMSHealthCare1.ReversePartialAuth(FDMSHealthCare1.Response.TransactionId, FDMSHealthCare1.Response.ValidationCode, FDMSHealthCare1.Response.ApprovalCode);
A transaction that has been reversed in this manner 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 ReversePartialAuthAsync instead. When the method completes (or an error is encountered) the ReversePartialAuthCompleted event will fire.