4D Payments SDK 2016 .NET Edition

Questions / Feedback?

ReverseFullAuth Method

This performs a reversal of a fully-authorized transaction.


public void ReverseFullAuth(string transactionId, string validationCode, string approvalCode);
Public Sub ReverseFullAuth(ByVal TransactionId As String, ByVal ValidationCode As String, ByVal ApprovalCode As String)


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.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.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]