Glossary
The terms the documentation uses, as briefly as they can be put. The specifications define them precisely; this is what you need to follow the rest.
The players
Section titled “The players”| Term | Meaning |
|---|---|
| Cardholder | The person paying, with a card or a phone. |
| Merchant | The shop accepting the payment. |
| Acquirer | The merchant’s bank (or its processor). The terminal sends it the payments; it forwards them to the card’s issuer through the card scheme. |
| Issuer | The cardholder’s bank. It decides whether a payment sent online is approved. |
| Card scheme (payment network, brand) | Mastercard, Visa, American Express, Discover, JCB, UnionPay, … Each sets the rules its cards and terminals follow, and certifies them. |
| EMVCo | The body the schemes own together, which writes the EMV specifications (the “Books”) and runs the approval of kernels. |
| nexo standards | An association writing open standards for what a terminal says to the acquirer, to its terminal manager and to the cash register. See nexo. |
| POI (Point of Interaction) | The payment terminal. nexo’s word. |
| Sale system (ECR, cash register) | What the merchant rings the sale up on. It asks the terminal to take the payment. |
| TMS (Terminal Management System) | The server that configures the terminals remotely: parameters, keys, software. |
Levels and approvals
Section titled “Levels and approvals”| Term | Meaning |
|---|---|
| Level 1 | The radio (contactless) or electrical (contact) link with the card, and the low-level protocol over it. Mostly hardware. |
| Level 2 | The EMV logic: talking to the card, checking it, deciding whether the payment is approved offline, declined or sent online. Entry Point and the kernels. This is what emvco::l2 is. |
| Level 3 | The whole terminal integrated with an acquirer: the payment application, the host messages, receipts. |
| LoA (Letter of Approval) | What EMVCo issues when a Level 2 implementation, on a given terminal configuration, passes the accredited lab’s tests. A scheme does the same for its own kernel and for Level 3. a7pay has none: implementing a specification isn’t being approved. |
| Test suite | The scheme’s or EMVCo’s list of test cases a lab runs for an approval. See Level 2 test suites. |
The card and the reader
Section titled “The card and the reader”| Term | Meaning |
|---|---|
| APDU | One command the reader sends the card, or the card’s response. A transaction is a dozen of them. |
| TLV (BER-TLV) | How EMV encodes data: a Tag naming the data item, its Length, its Value. Tags are written in hex: ‘9F02’ is the amount, ‘5A’ the card number. |
| AID (Application Identifier) | The identifier of a payment application on the card, e.g. A0000000041010 for Mastercard credit or debit. A card can carry several. |
| PPSE | The card’s directory of its contactless payment applications, the first thing the reader asks for. |
| Entry Point | The part of the reader that reads the card’s directory, chooses which application and which kernel to use, and starts the kernel. See Entry Point. |
| Kernel | The code running one family of cards through a transaction, once Entry Point has chosen it. Each scheme had its own; EMVCo publishes each as a Book: C-2 (Mastercard), C-3 (Visa), C-4 (American Express), C-6 (Discover), C-8 (EMVCo’s common kernel). See Kernels. |
| Combination | A pair the reader is configured with: an AID and the kernel that runs it (with that pair’s limits and settings). |
| Outcome | What the kernel concludes, passed back through Entry Point: Approved, Declined, Online Request, Try Again, Try Another Interface, End Application, Select Next. |
| Configuration data | The reader’s settings per Combination: limits, which verification methods it supports, its country and currency, its terminal type, … |
What happens in a transaction
Section titled “What happens in a transaction”| Term | Meaning |
|---|---|
| Online / offline | Online: the payment goes to the issuer, which approves or declines it. Offline: the card and the terminal decide together, without the issuer, e.g. for small amounts. |
| Cryptogram (AC) | A signature the card computes over the transaction with a key only it and its issuer have. ARQC: “ask the issuer” (online). TC: “approved” (offline). AAC: “declined”. The issuer checks the ARQC, so a cloned card can’t produce one. |
| ARPC | The issuer’s answer to an ARQC, which the card can check in turn. |
| ODA (Offline Data Authentication) | The terminal checking, with public-key cryptography, that the card is genuine without asking the issuer. Variants: SDA, DDA, fDDA (Visa’s fast DDA), CDA (the cryptogram signed by the card), and Kernel 8’s ECC-based local authentication. |
| CA public keys | The schemes’ public keys the terminal holds, from which it checks the card’s certificates during ODA. |
| CVM (Cardholder Verification Method) | How the terminal checks the person paying is the cardholder: online PIN, signature, the phone’s own check (CDCVM: fingerprint, face), or none for small amounts. |
| Processing restrictions | Checks of the card against the transaction: expiry date, the countries and transaction types the card allows. |
| TVR (Terminal Verification Results) | A bit field where the terminal records everything that went wrong or was notable (ODA failed, card expired, …). It goes to the issuer. |
| Limits | Amounts set per Combination: over the contactless transaction limit the card can’t be used contactless; over the CVM limit a verification is needed; over the floor limit the payment goes online. |
| Unpredictable number | A random number the terminal gives the card, so that a recorded transaction can’t be replayed. |
| ATC | The card’s transaction counter. |
| Relay resistance | Timing the card’s answer to one command, to detect a card being relayed from far away. Kernels 2 and 8. |
| Data Record | The data the kernel hands the payment application at the end, to send the acquirer (the cryptogram, the card number, the TVR, …). |
| Issuer update, second tap | After an online authorisation, some kernels ask the cardholder to tap again so the issuer’s answer (its ARPC, scripts updating the card) reaches the card. |
| Brand feature | In a7pay, a scheme’s certified behaviour where it departs from the public Book, off by default. See Kernels. |
Security
Section titled “Security”| Term | Meaning |
|---|---|
| MAC | A cryptographic checksum proving a message wasn’t altered and comes from who holds the key. nexo messages carry one. |
| DUKPT | The key scheme payment terminals use: every transaction gets a fresh key derived from the terminal’s initial key, so a key stolen from one transaction opens no other. AES DUKPT is its modern version. |
| PIN block | The PIN enciphered as soon as it is typed (ISO 9564). The clear PIN never leaves the PIN pad. |
| HSM | Hardware Security Module: the tamper-resistant device that holds the keys on the host side, and often in the terminal (a secure element). |
| PCI | The industry’s security standards body: PCI PTS (PIN entry devices), PCI MPoC (payments on a phone), PCI DSS, … |
| SoftPOS, Tap to Phone, MPoC | Taking contactless payments on an ordinary phone, without a dedicated terminal. PCI MPoC is the standard that secures it. |