4D Payments SDK 2016 .NET Edition

Questions / Feedback?

VoidType Property

Identifies the type of void to execute.


public FdmsgiftcardVoidTypes VoidType { get; set; }

enum FdmsgiftcardVoidTypes { vtRedemption, vtLoad, vtActivation }
Public Property VoidType As FdmsgiftcardVoidTypes

Enum FdmsgiftcardVoidTypes vtRedemption vtLoad vtActivation End Enum

Default Value



This property is used by the VoidTransaction method to indicate the type of transaction which is to be voided. Valid void types include:

vtRedemption (0)This is used to void a purchase performed on a gift card using the RedeemCard method. It works to void regular redemptions, partial redemptions, and cashouts. A call to VoidTransaction will add the TransactionAmount back to the gift card balance. When voiding a partial redemption or cash out, the TransactionAmount must equal the actual value that was approved in the redemption, not the amount requested.
vtLoad (1)This voids a load, reload, refund or adjustment that was made with the LoadCard method. The TransactionAmount is removed from the current balance of the gift card account.
vtActivation (2)This voids the activation of the gift card made with ActivateCard, and changes the card's status back to inactive. If a financial transaction has been completed on the gift card (for instance, a redemption or load), the activation cannot be voided unless all transactions since the activation are also voided.

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