/n software 3-D Secure V2 C++ Edition

Questions / Feedback?

CardNumber Property

Customer's credit card number to be authenticated.


char* GetCardNumber();
int SetCardNumber(const char* lpszCardNumber);
LPWSTR GetCardNumber();
INT SetCardNumber(LPCWSTR lpszCardNumber);
@property (nonatomic,readwrite,assign,getter=cardNumber,setter=setCardNumber:) NSString* cardNumber;
- (NSString*)cardNumber;
- (void)setCardNumber:(NSString*)newCardNumber;
public var cardNumber: String {
  get {...}
set {...} }

Default Value



This property contains the customer's credit card number which is to be authenticated. This must be the same number that will be used in the authorization request. This property is 13-19 characters long, excluding whitespace and dashes which are stripped out when the property is set.

Note: A VerifyEnrollment response may encrypt, encode, or otherwise modify this property. Do not reset the CardNumber property to the actual credit card number before calling GetAuthenticationPacket, or the ACS may respond with an error.

Note: Before calling CheckAuthenticationResponse, CardNumber must be set to last 4 digits of the card number preceded by zeroes. For instance:

  • 0000000001234 (13-digit PAN)
  • 0000000000001234 (16-digit PAN)

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
/n software 3-D Secure V2 C++ Edition - Version 2.0 [Build 7722]