4D Payments SDK 2016 .NET Edition

Questions / Feedback?

DeactivateCard Method

Deactivates a gift card.

Syntax

public void DeactivateCard();
Public Sub DeactivateCard()

Remarks

A stored value Deactivation transaction is the process of removing the remaining balance from a card account and placing the card into an inactive status. This transaction is most often used when the cardholder has lost the card, yet still has the card number. The terminal will initiate a transaction to the host, which will redeem the total balance on the card. Once a card is deactivated, it can only be restored to circulation using the ReactivateCard method. Calling AddValue on a deactivated card will result in an error.

The gift card may be specified by either a MagneticStripe returned by a card reader, (Track2 only), or manually entered through the Number, ExpMonth, and ExpYear.A 3-digit Card Verification Value code may also be supplied in the CVVData field.

The Code and Text fields indicate whether this transaction was successful.

.NET Standard Notes

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

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