4D Payments SDK 2016 .NET Edition

Questions / Feedback?

VoidTransaction Method

Sends a void request.

Syntax

public void VoidTransaction(string retrievalNumber, string originalAmount);
Public Sub VoidTransaction(ByVal RetrievalNumber As String, ByVal OriginalAmount As String)

Remarks

This method sends a void request to the Vital/TSYS transaction server. If the authorization request was successful, the Code property will contain "200". Response will contain additional details about the authorization request.

Method parameters are:

RetrievalNumberThe RetrievalNumber from the previously authorized transaction.
OriginalAmountThe original authorized amount.

Minimum required properties:

Note either RetrievalNumber or TransactionNumber may be used to reference the transaction that is to be retrieved, adjusted or voided. If both are supplied, the RetrievalNumber will be used and the TransactionNumber ignored.

In the case of performing level 3 or settlement transactions, TransactionNumber is not supported and thus RetrievalNumber must be used to reference the transaction.

.NET Standard Notes

To call this method in an asynchronous manner call VoidTransactionAsync instead. When the method completes (or an error is encountered) the VoidTransactionCompleted event will fire.

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