AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Payment Cryptography Data VerifyCardValidationData API operation.

Syntax

Test-PAYCDCardValidationData
-KeyIdentifier <String>
-CardHolderVerificationValue_ApplicationTransactionCounter <String>
-DiscoverDynamicCardVerificationCode_ApplicationTransactionCounter <String>
-DynamicCardVerificationCode_ApplicationTransactionCounter <String>
-DynamicCardVerificationValue_ApplicationTransactionCounter <String>
-AmexCardSecurityCodeVersion1_CardExpiryDate <String>
-AmexCardSecurityCodeVersion2_CardExpiryDate <String>
-CardVerificationValue1_CardExpiryDate <String>
-CardVerificationValue2_CardExpiryDate <String>
-DiscoverDynamicCardVerificationCode_CardExpiryDate <String>
-DynamicCardVerificationValue_CardExpiryDate <String>
-CardHolderVerificationValue_PanSequenceNumber <String>
-DynamicCardVerificationCode_PanSequenceNumber <String>
-DynamicCardVerificationValue_PanSequenceNumber <String>
-PrimaryAccountNumber <String>
-AmexCardSecurityCodeVersion2_ServiceCode <String>
-CardVerificationValue1_ServiceCode <String>
-DynamicCardVerificationValue_ServiceCode <String>
-DynamicCardVerificationCode_TrackData <String>
-CardHolderVerificationValue_UnpredictableNumber <String>
-DiscoverDynamicCardVerificationCode_UnpredictableNumber <String>
-DynamicCardVerificationCode_UnpredictableNumber <String>
-ValidationData <String>
-Select <String>
-PassThru <SwitchParameter>
-ClientConfig <AmazonPaymentCryptographyDataConfig>

Description

Verifies card-related validation data using algorithms such as Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2) and Card Security Codes (CSC). For more information, see Verify card data in the Amazon Web Services Payment Cryptography User Guide. This operation validates the CVV or CSC codes that is printed on a payment credit or debit card during card payment transaction. The input values are typically provided as part of an inbound transaction to an issuer or supporting platform partner. Amazon Web Services Payment Cryptography uses CVV or CSC, PAN (Primary Account Number) and expiration date of the card to check its validity during transaction processing. In this operation, the CVK (Card Verification Key) encryption key for use with card data verification is same as the one in used for GenerateCardValidationData. For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations:

Parameters

-AmexCardSecurityCodeVersion1_CardExpiryDate <String>
The expiry date of a payment card.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_AmexCardSecurityCodeVersion1_CardExpiryDate
-AmexCardSecurityCodeVersion2_CardExpiryDate <String>
The expiry date of a payment card.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_AmexCardSecurityCodeVersion2_CardExpiryDate
-AmexCardSecurityCodeVersion2_ServiceCode <String>
The service code of the AMEX payment card. This is different from the Card Security Code (CSC).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_AmexCardSecurityCodeVersion2_ServiceCode
-CardHolderVerificationValue_ApplicationTransactionCounter <String>
The transaction counter value that comes from a point of sale terminal.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_CardHolderVerificationValue_ApplicationTransactionCounter
-CardHolderVerificationValue_PanSequenceNumber <String>
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_CardHolderVerificationValue_PanSequenceNumber
-CardHolderVerificationValue_UnpredictableNumber <String>
A random number generated by the issuer.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_CardHolderVerificationValue_UnpredictableNumber
-CardVerificationValue1_CardExpiryDate <String>
The expiry date of a payment card.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_CardVerificationValue1_CardExpiryDate
-CardVerificationValue1_ServiceCode <String>
The service code of the payment card. This is different from Card Security Code (CSC).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_CardVerificationValue1_ServiceCode
-CardVerificationValue2_CardExpiryDate <String>
The expiry date of a payment card.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_CardVerificationValue2_CardExpiryDate
Amazon.PowerShell.Cmdlets.PAYCD.AmazonPaymentCryptographyDataClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DiscoverDynamicCardVerificationCode_ApplicationTransactionCounter <String>
The transaction counter value that comes from the terminal.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DiscoverDynamicCardVerificationCode_ApplicationTransactionCounter
-DiscoverDynamicCardVerificationCode_CardExpiryDate <String>
The expiry date of a payment card.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DiscoverDynamicCardVerificationCode_CardExpiryDate
-DiscoverDynamicCardVerificationCode_UnpredictableNumber <String>
A random number that is generated by the issuer.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DiscoverDynamicCardVerificationCode_UnpredictableNumber
-DynamicCardVerificationCode_ApplicationTransactionCounter <String>
The transaction counter value that comes from the terminal.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationCode_ApplicationTransactionCounter
-DynamicCardVerificationCode_PanSequenceNumber <String>
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationCode_PanSequenceNumber
-DynamicCardVerificationCode_TrackData <String>
The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationCode_TrackData
-DynamicCardVerificationCode_UnpredictableNumber <String>
A random number generated by the issuer.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationCode_UnpredictableNumber
-DynamicCardVerificationValue_ApplicationTransactionCounter <String>
The transaction counter value that comes from the terminal.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationValue_ApplicationTransactionCounter
-DynamicCardVerificationValue_CardExpiryDate <String>
The expiry date of a payment card.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationValue_CardExpiryDate
-DynamicCardVerificationValue_PanSequenceNumber <String>
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationValue_PanSequenceNumber
-DynamicCardVerificationValue_ServiceCode <String>
The service code of the payment card. This is different from Card Security Code (CSC).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesVerificationAttributes_DynamicCardVerificationValue_ServiceCode
-KeyIdentifier <String>
The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the KeyIdentifier parameter. The -PassThru parameter is deprecated, use -Select '^KeyIdentifier' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PrimaryAccountNumber <String>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.PaymentCryptographyData.Model.VerifyCardValidationDataResponse). Specifying the name of a property of type Amazon.PaymentCryptographyData.Model.VerifyCardValidationDataResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ValidationData <String>
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.PaymentCryptographyData.Model.VerifyCardValidationDataResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z