Skip to content

Verify Card Validation Data

paymentcryptographydataplane_verify_card_validation_data R Documentation

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 generate_card_validation_data.

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:

  • generate_card_validation_data

  • verify_auth_request_cryptogram

  • verify_pin_data

Usage

paymentcryptographydataplane_verify_card_validation_data(KeyIdentifier,
  PrimaryAccountNumber, VerificationAttributes, ValidationData)

Arguments

KeyIdentifier

[required] The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data.

PrimaryAccountNumber

[required] The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.

VerificationAttributes

[required] The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.

ValidationData

[required] The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.

Value

A list with the following syntax:

list(
  KeyArn = "string",
  KeyCheckValue = "string"
)

Request syntax

svc$verify_card_validation_data(
  KeyIdentifier = "string",
  PrimaryAccountNumber = "string",
  VerificationAttributes = list(
    AmexCardSecurityCodeVersion1 = list(
      CardExpiryDate = "string"
    ),
    AmexCardSecurityCodeVersion2 = list(
      CardExpiryDate = "string",
      ServiceCode = "string"
    ),
    CardVerificationValue1 = list(
      CardExpiryDate = "string",
      ServiceCode = "string"
    ),
    CardVerificationValue2 = list(
      CardExpiryDate = "string"
    ),
    CardHolderVerificationValue = list(
      UnpredictableNumber = "string",
      PanSequenceNumber = "string",
      ApplicationTransactionCounter = "string"
    ),
    DynamicCardVerificationCode = list(
      UnpredictableNumber = "string",
      PanSequenceNumber = "string",
      ApplicationTransactionCounter = "string",
      TrackData = "string"
    ),
    DynamicCardVerificationValue = list(
      PanSequenceNumber = "string",
      CardExpiryDate = "string",
      ServiceCode = "string",
      ApplicationTransactionCounter = "string"
    ),
    DiscoverDynamicCardVerificationCode = list(
      CardExpiryDate = "string",
      UnpredictableNumber = "string",
      ApplicationTransactionCounter = "string"
    )
  ),
  ValidationData = "string"
)