Case · Implementation challenges
Key considerations for selecting an EMV Level 2 stack
Every in-store payment architecture depends on one component to accept chip and contactless cards: the EMV Level 2 stack. COTS devices have multiplied the ways to get one, and the choice now shapes your costs, your certification effort and how far your product can grow. This case sets out the questions to answer before you build, buy or keep a Level 2 stack.
How the market got here
- Terminal manufacturers developed or acquired Level 2 stacks for their PCI PTS terminals. Many then added COTS products that expose a Level 2 stack through separate APIs, often after acquisitions. The result is duplicated software and maintenance tools, extra cost and extra risk.
- Start-ups building SoftPOS products often had limited EMV expertise. To move fast, many took the free Level 2 kernel SDKs that some payment networks provide. That works for a first release, but those stacks are restricted and become a constraint when the business has to scale.
- Device makers (OEMs) saw SoftPOS as an opening, with Level 2 kernels in the cloud, because COTS devices need neither PCI PTS nor EMV Level 1 approval.
Early SoftPOS deployments on consumer phones still show weak spots: maturity, NFC performance and the tap experience itself. The market is young, and there is room to do better.
A payment architecture is expected to last ten years or more. Whether you implement the Level 2 stack, outsource it or maintain the one you have, the questions below help you decide.
What is an EMV Level 2 stack?
The Level 2 stack is the software that runs chip and contactless card transactions. It sits in the point of interaction (POI), between the card reader and the systems that send the transaction to the bank. It is made of a common Entry Point and one kernel per payment scheme. A typical terminal needs five or six kernels: the international schemes that follow EMVCo specifications, plus the regional schemes of the markets you serve. See EMV Level 2 vs Level 3 for where Level 2 stops and the payment application starts.
What expertise does it take?
In our experience, building a first certifiable stack with two kernels and a test tool takes a team of five to ten people and up to twelve months. Around twenty Level 2 kernel specifications can be certified today. You will not need all of them, but the list for your target markets grows quickly.
If you outsource, several vendors offer scheme-agnostic stacks, and some payment networks provide kernels for free. Do your due diligence either way, and check that the stack:
- adds kernels for new countries without heavy work or new risk;
- hides Level 2 complexity, so your application team does not need to study each kernel specification to configure it or follow its flows;
- supports all kernels, international and regional, behind one card detection and kernel activation, so you never tweak detection and lose tap performance (see the Entry Point simulator);
- exposes a single EMV data model to your payment application.
Depending on your strategy, you may also buy the accredited tools that the labs use in certification sessions.
What are your test and certification strategies?
Level 2 testing takes time and money. A good stack supports automated testing that does not depend on the hardware. Certification tools are essential for approvals, but they are not designed to test a kernel continuously while you develop it. A well-designed stack is as testable as it is certifiable, so your team spends its time qualifying the product rather than chasing certification results. Interfaces such as Mastercard's TEI point the same way; see the TEI integration case.
The best stacks also come with tools, examples and documentation that let integrators build payment applications on their own. Log tools help here too: EVAL Log Extract, Kanest Log Extract and the EMV Log Analyzer turn tool logs into something you can read and compare.
How do you assess its security?
EMVCo and scheme Level 2 specifications set no security requirements beyond offline data authentication (ODA, see the ODA debugger). An EMV transaction relies on a secure token from the issuer's side, the card or the phone, so the Level 2 stack is not itself subject to PCI review, while its operating environment is. Still, the stack handles sensitive card data to perform ODA and the other steps of the specifications, which indirectly brings it into PCI scope.
On PCI PTS terminals the risk is low, because the device protects the stack. On COTS devices you need to look closer, for two reasons:
- PCI MPoC security relies mostly on attestation and monitoring from the back office, with limited mitigation on the device itself.
- Many Level 2 stacks running on COTS devices were designed for PCI PTS terminals.
Which use cases do you target?
A Level 2 stack is certified with a set of options declared in its Implementation Conformance Statement (ICS). More options are not always better: each one you do not need adds development, maintenance and certification cost.
Performance matters as much. Use cases such as open payment in transit need fast card detection, smooth kernel activation and quick capture of the PAN or token. The stack should support both embedded and cloud architectures, so you can choose the physical setup that fits your constraints. Its logical architecture should cover many use cases while only the physical interfaces change.
How big is your market?
Scalability is one of the hardest things to add later, so plan for it from day one. The stack should be ready for regional Level 2 specifications, such as Interac in Canada, girocard in Germany and eftpos in Australia. It should also meet different acquirer security requirements and application architectures: client and server, thin client or standalone. A standard API and one Entry Point for all kernels make each new market much easier. Why EMV APIs matter covers this in more detail.
How does your timeline affect the choice?
Some start-ups choose an off-the-shelf stack with a minimal set of kernels to get an MVP out quickly. That is fine for a start, but long-term success depends on how well the stack can evolve and be maintained. Payment technologies tend to last about a decade: EMV contact in the 2000s, contactless in the 2010s. The next phase is taking shape around cloud infrastructures, stronger software security and Kernel 8. A stack chosen today must be able to change its structure and data model over time without putting the next ten years of investment at risk.
Which stack fits your project?
Over the past decade, EMV acceptance has seen contactless, mPOS, COTS devices and kernels in the cloud. Existing stacks were adapted and new ones released to seize regional and vertical opportunities. Through all of it, EMV has stayed global and interoperable, whatever the business, the country or the hardware. Yet no standard EMV API has emerged to normalise how card processing is integrated across hardware architectures.
A modern Level 2 stack should offer the same encapsulation on PCI PTS terminals and COTS devices, in embedded and cloud architectures. That is what lets one product follow the in-store payment market as it changes.
Checklist
- Which kernels do your target markets require, now and in three years?
- Can you add a kernel without touching card detection or your application?
- Is there one API and one data model for every kernel?
- Can you test automatically, without hardware, every day?
- Which ICS options do you really need?
- Was the stack designed for COTS devices, or ported from PCI PTS terminals?
- Does it run embedded and in the cloud?
- Can it evolve, for example to Kernel 8, without a rewrite?