

# AmexCardSecurityCodeVersion2
<a name="API_AmexCardSecurityCodeVersion2"></a>

Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.

## Contents
<a name="API_AmexCardSecurityCodeVersion2_Contents"></a>

 ** CardExpiryDate **   <a name="paymentcryptographydata-Type-AmexCardSecurityCodeVersion2-CardExpiryDate"></a>
The expiry date of a payment card.  
Type: String  
Length Constraints: Fixed length of 4.  
Pattern: `[0-9]+`   
Required: Yes

 ** ServiceCode **   <a name="paymentcryptographydata-Type-AmexCardSecurityCodeVersion2-ServiceCode"></a>
The service code of the AMEX payment card. This is different from the Card Security Code (CSC).  
Type: String  
Length Constraints: Fixed length of 3.  
Pattern: `[0-9]+`   
Required: Yes

## See Also
<a name="API_AmexCardSecurityCodeVersion2_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/payment-cryptography-data-2022-02-03/AmexCardSecurityCodeVersion2) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/payment-cryptography-data-2022-02-03/AmexCardSecurityCodeVersion2) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/payment-cryptography-data-2022-02-03/AmexCardSecurityCodeVersion2) 