Enroll PAN --> encPaymentInstrument in invalid or inconsistent with the profile
i'm trying to Enroll PAN via Visa Token Service api but i'm getting an error: "Input for encPaymentInstrument is invalid or inconsistent with the profile."
As I have seen in the Forum few people have the same issue but i didnt see any resolution. Is the cvv2 in the encPaymentInstrument tag problem? Can it be set to any value?
Also in the Questions in forums I have seen that there is no clear reference of what should encPaymentInstrument consist of?
In the API it is just: "Payment instrument contains: accountNumber, cvv2, last4, name, billingAddress, expirationDatePlease see note below regarding internationalization support for encPaymentInstrument." THERE IS NO NOTE regarding internationalization support on this site.
Re: Enroll PAN --> encPaymentInstrument in invalid or inconsistent with the profile
Thank you for your inquiry/question. You have a fair question. Please see the list of field that needs to be part of Encrypted Payment Instrument as below and CVV2 is not optional but conditional that is mandatory for the use case when the panSource is MANUALLYENTERED by consumer for tokenisation.
Encrypted Payment Instrument
accountNumber PAN of the card to be enrolled and provisioned
Format: Numeric. Size: 13-19
cvv2 (Conditional) CVV2 value associated with the PAN on the card.
Format: String. Size: 3-4
name (Optional) The full name on the Visa card associated with the enrolled payment instrument
Format: String; Size: 256
expirationDate (Conditional) Payment instrument's expiration date. Populate based on the response from getPanData, which indicates whether this information is printed on the card.
Format: expirationDate structure.
billingAddress Billing address associated with the payment instrument
Format: billingAddress structure.
provider Information about the provider of the payment instrument and the context in which it is provided. Required if the panSource is ISSUER_PUSH_PROVISION.