Seven things to check when a Mastercard CPV sample is rejected
By IDNTEQ · published · technically reviewed
Runs in your browser. This page loads no analytics or third-party scripts and does not send what you type.
Mastercard’s Card Personalization Validation (CPV) checks that a personalized card sample matches its declared profile and Mastercard’s personalization requirements. When a sample is rejected, the report names the failing items; the work is to trace each one back to the profile, the personalization data or the submission.
The seven areas below are the ones to check first. They are not Mastercard’s list of test cases; the CPV documentation and the rejection report are the reference for what was tested.
1. Profile and personalization disagree
A data element is declared in the profile but absent from the card, or present with a different value, or present on the card but not in the profile. Decode the personalization data and compare it with the profile element by element before submission.
2. The IAD and the CVN
The CVN in the Issuer Application Data (9F10) must be the one the profile declares, and the IAD’s length and layout must be the ones that version defines. A sample personalized from another product’s template can fail here.
3. The CVM list
The CVM list (8E) starts with two 4-byte amount fields (X and Y), followed by 2-byte rules. Check that the list is well formed, that each rule’s method and condition codes are valid, that the order of the rules is the intended one, and that the list matches the product’s declared cardholder verification methods.
4. Cryptograms and keys
If the sample is personalized with the agreed test keys, its cryptograms should verify under the declared CVN. Check an ARQC from the sample with the ARQC verifier and the test keys (it computes the EMV common session key, not the older Mastercard-specific derivation of CVN 12 and 13), and confirm each key by its KCV (personalization data usually carries the key check values next to the encrypted keys).
5. The AFL and the records
The AFL (94) lists a record that does not exist, a record exists that the AFL does not list, or the number of records marked for offline data authentication is not what the certificates were computed over. The AFL builder lists the records in order and builds the static data to be authenticated, and the EMV certificate validator checks the ICC certificate hash against it.
6. Contact and contactless parameters
On a dual-interface card, check the parameters of each interface (for example its AIP and its cardholder verification settings) against the values the profile declares for that interface.
7. Declaration and sample disagree
The declaration describes something different from the sample that was submitted: another product, another chip, another profile version. This needs a corrected declaration or a new sample, not a change to the card.
Check the personalization file before you submit
The DGI decoder splits a CPS personalization stream or file into its DGIs, decodes the records, and shows which of the common DGIs from EMV CPS Annex A are present. It checks presence, not contents, and it is not a scheme requirement list.
Input
5 DGIs decoded.
Result
5/5 listed DGIs found with data
This only checks which common CPS DGI identifiers are present. It does not check their contents and is not a scheme requirement list; use the personalization specification of the applicable scheme and profile.
IDNTEQ reviews rejection reports and proposes corrections as part of CPV / PVT preparation and remediation.
References
See also
- The EMV transaction walkthrough: one contact chip-and-PIN purchase, every command and cryptogram computed in your browser.
- The EMV and payments glossary, with the Brazilian Portuguese terms.
- For an investigation, see CPV / PVT preparation and remediation.
Related tools
Decode CPS / STORE DATA DGI streams or a CPS perso file, with a DGI presence checklist.
TLV parser / builderDecode BER-TLV with tag names, decoded values and the EMV bitmaps; DOL mode and share links.
AFL & static data builderDecode the AFL, list the records the terminal reads and build the static data to authenticate.
ARQC / cryptogram verifierShows each derivation step and tests common input variations when an ARQC does not match.
EMV certificate validatorRecover issuer and ICC certificates; check hash, structure and CA key status.