4D Payments SDK 2016 .NET Edition

Questions / Feedback?

CardType Property

Indicates the results of the Luhn Digit Check algorithm.


public CardvalidatorCardTypes CardType { get; }

enum CardvalidatorCardTypes { vctUnknown, vctVisa, vctMasterCard, vctAmex, vctDiscover, vctDiners, vctJCB, vctVisaElectron, vctMaestro, vctCUP, vctLaser }
Public ReadOnly Property CardType As CardvalidatorCardTypes

Enum CardvalidatorCardTypes vctUnknown vctVisa vctMasterCard vctAmex vctDiscover vctDiners vctJCB vctVisaElectron vctMaestro vctCUP vctLaser End Enum

Default Value



This property is filled after a call to the ValidateCard method. Allowable values include:

ctUnknown (0) The component could not determine the type of the card based on the CardNumber prefix and length.
vctVisa (1) Visa card.
vctMasterCard (2) MasterCard card.
vctAmex (3) American Express card.
vctDiscover (4) Discover Card
vctDiners (5) Diner's Club card (Carte Blanche or International - the CardTypeDescription will contain the full name).
vctJCB (6) Japan Credit Bureau card.
vctVisaElectron (7) International Visa debit card (not available in US or Canada).
vctMaestro (8) International debit card (owned and operated by MasterCard).
vctCUP (9) China UnionPay - China's only credit card organization.
vctLaser (10) Primary debit card used in Ireland.

This property is read-only and not available at design time.

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