4D Payments SDK 2016 .NET Edition

Questions / Feedback?

AdjustTransaction Method

Sends an adjustment request.


public void AdjustTransaction();
Public Sub AdjustTransaction()


This method allows you to adjust a previously authorized transaction. It can be used to decrease the final SettlementAmount and adjust non-financial fields. If the adjustment request was successful, the Code property will contain "200". Response will contain additional details about the authorization request.

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.

If a timeout occurs during the adjustment request, you will want to use the TSYSHCTransactionDetails component to issue a GetDetails request. If the request was received by the TSYS server, the GetDetails response will contain the adjusted values and no other steps are necessary. If the request was not received by the TSYS server, the GetDetails response will show that the adjusted values were not updated. Therefore the adjustment request should be resent.

Note that AdjustTransaction cannot be used to add a tip amount. If you wish to add a tip, you must use AdjustTip.

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