4D Payments SDK 2016 .NET Edition

Questions / Feedback?

VoidTransaction Method

Sends a void request.


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


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.

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