/n software 3-D Secure V2 Python Edition

Questions / Feedback?

card_type Property

Indicates the results of the Luhn Digit Check algorithm.

Syntax

def get_card_type() -> int: ...

card_type = property(get_card_type, None)

Default Value

0

Remarks

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

ctUnknown (0) The class could not determine the type of the card based on the card_number 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 card_type_description 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software 3-D Secure V2 Python Edition - Version 2.2 [Build 8318]