4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

DeactivateCard Method

Deactivates a gift card.

Syntax

[VB.NET]
Public Sub DeactivateCard()
[C#]
public void 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.

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