ISO/IEC 7813

Last updated

ISO/IEC 7813 is an international standard codified by the International Organization for Standardization and International Electrotechnical Commission that defines properties of financial transaction cards, such as ATM or credit cards. [1]

Contents

Scope

The standard defines:[ citation needed ]

Physical characteristics

ISO/IEC 7813 specifies the following physical characteristics of the card, mostly by reference to other standards:[ citation needed ]

Embossed characters
by reference to ISO/IEC 7811
Embossing of expiration date
the format (MM/YY or MM-YY)
Magnetic stripe
by reference to ISO/IEC 7811
Integrated circuit with contacts
by reference to ISO/IEC 7816-1
Integrated circuit without contacts
by reference to ISO/IEC 10536-1, ISO/IEC 14443-1, and ISO/IEC 15693-1

Magnetic tracks

Track 1

Track 1 can store up to 79 alphanumeric characters. ISO 7813 specifies the following structure for track 1 data: [2]

Examples

%B4815881002867896^YATES/EUGENE JOHN         ^37829821000123456789?

%B4815881002861896^YATES/EUGENE L            ^^^356858      00998000000?


Track 2

Track 2 can store up to 40 numeric or special characters; it uses a lower density magnetic encoding than Track 1 but a more compact character encoding. ISO 7813 specifies the following structure for track 2 data: [2]

Track 3

Track 3 uses the same density as track 1 but has the same character encoding as track 2, allowing it to store 107 numeric characters. [2] It is virtually unused by the major worldwide networks and often isn't present on payment cards.[ citation needed ]

A notable exception to this is Germany, where Track 3 content was used nationally as the primary source of authorization and clearing information for debit card processing prior to the adoption of the "SECCOS" ICC standards. Track 3 is standardized nationally to contain both the cardholder's bank account number and branch sort code (BLZ).[ citation needed ]

Programming

Parsing Track 1 and Track 2 can be done with Regular Expressions.

Track 1

^%B([0-9]{1,19})\^([^\^]{2,26})\^([0-9]{4}|\^)([0-9]{3}|\^)([^\?]*)\?$

This Regex will capture all of the important fields into the following groups:[ citation needed ]

  • Group 1: Payment card number (PAN)
  • Group 2: Name (NM)
  • Group 3: Expiration Date (ED)
  • Group 4: Service Code (SC)
  • Group 5: Discretionary data (DD)

Track 2

6037998133906221

  • Group 1: Primary Account Number (PAN)
  • =
  • Group 2: Expiration date (ED) or =
  • Group 3: Service code (SC) or =
  • Group 4: Discretionary data (DD) or empty

Related Research Articles

<span class="mw-page-title-main">COBOL</span> Programming language with English-like syntax

COBOL is a compiled English-like computer programming language designed for business use. It is an imperative, procedural, and, since 2002, object-oriented language. COBOL is primarily used in business, finance, and administrative systems for companies and governments. COBOL is still widely used in applications deployed on mainframe computers, such as large-scale batch and transaction processing jobs. Many large financial institutions were developing new systems in the language as late as 2006, but most programming in COBOL today is purely to maintain existing applications. Programs are being moved to new platforms, rewritten in modern languages, or replaced with other software.

In computer science, extended Backus–Naur form (EBNF) is a family of metasyntax notations, any of which can be used to express a context-free grammar. EBNF is used to make a formal description of a formal language such as a computer programming language. They are extensions of the basic Backus–Naur form (BNF) metasyntax notation.

ISO/IEC 7811Identification cards — Recording technique is a set of nine standards describing the recording technique on identification cards.

<span class="mw-page-title-main">ISO/IEC 7810</span> Standard for ID cards

ISO/IEC 7810Identification cards — Physical characteristics is an international standard that defines the physical characteristics for identification cards.

<span class="mw-page-title-main">Proximity card</span> Contactless smart card

A proximity card or prox card also known as a key card or keycard is a contactless smart card which can be read without inserting it into a reader device, as required by earlier magnetic stripe cards such as credit cards and contact type smart cards. The proximity cards are part of the contactless card technologies. Held near an electronic reader for a moment they enable the identification of an encoded number. The reader usually produces a beep or other sound to indicate the card has been read.

ISO/IEC 5218Information technology — Codes for the representation of human sexes is an international standard that defines a representation of human sexes through a language-neutral single-digit code. It can be used in information systems such as database applications.

ISO/IEC 7812Identification cards – Identification of issuers is an international standard published jointly by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). It specifies "a numbering system for the identification of the card issuers, the format of the issuer identification number (IIN) and the primary account number (PAN)", and procedures for registering IINs. It was first published in 1989.

ISO 8583 is an international standard for financial transaction card originated interchange messaging. It is the International Organization for Standardization standard for systems that exchange electronic transactions initiated by cardholders using payment cards.

ISO 2709 is an ISO standard for bibliographic descriptions, titled Information and documentation—Format for information exchange.

<span class="mw-page-title-main">Payment card</span> Card issued by a financial institution that can be used to make a payment

Payment cards are part of a payment system issued by financial institutions, such as a bank, to a customer that enables its owner to access the funds in the customer's designated bank accounts, or through a credit account and make payments by electronic transfer with a payment terminal and access automated teller machines (ATMs). Such cards are known by a variety of names, including bank cards, ATM cards, client cards, key cards or cash cards.

A machine-readable passport (MRP) is a machine-readable travel document (MRTD) with the data on the identity page encoded in optical character recognition format. Many countries began to issue machine-readable travel documents in the 1980s. Most travel passports worldwide are MRPs. The International Civil Aviation Organization (ICAO) requires all ICAO member states to only issue MRPs as of April 1, 2010, and all non-MRP passports must expire by November 24, 2015.

A card reader is a data input device that reads data from a card-shaped storage medium and provides the data to a computer. Card readers can acquire data from a card via a number of methods, including: optical scanning of printed text or barcodes or holes on punched cards, electrical signals from connections made or interrupted by a card's punched holes or embedded circuitry, or electronic devices that can read plastic cards embedded with either a magnetic strip, computer chip, RFID chip, or another storage medium.

Many Unicode characters are used to control the interpretation or display of text, but these characters themselves have no visual or spatial representation. For example, the null character is used in C-programming application environments to indicate the end of a string of characters. In this way, these programs only require a single starting memory address for a string, since the string ends once the program reads the null character.

A payment card number, primary account number (PAN), or simply a card number, is the card identifier found on payment cards, such as credit cards and debit cards, as well as stored-value cards, gift cards and other similar cards. In some situations the card number is referred to as a bank card number. The card number is primarily a card identifier and may not directly identify the bank account number(s) to which the card is/are linked by the issuing entity. The card number prefix identifies the issuer of the card, and the digits that follow are used by the issuing entity to identify the cardholder as a customer and which is then associated by the issuing entity with the customer's designated bank accounts. In the case of stored-value type cards, the association with a particular customer is only made if the prepaid card is reloadable. Card numbers are allocated in accordance with ISO/IEC 7812. The card number is typically embossed on the front of a payment card, and is encoded on the magnetic stripe and chip, but may also be imprinted on the back of the card.

An Answer To Reset (ATR) is a message output by a contact Smart Card conforming to ISO/IEC 7816 standards, following electrical reset of the card's chip by a card reader. The ATR conveys information about the communication parameters proposed by the card, and the card's nature and state.

The RKM code, also referred to as "letter and numeral code for resistance and capacitance values and tolerances", "letter and digit code for resistance and capacitance values and tolerances", or informally as "R notation" is a notation to specify resistor and capacitor values defined in the international standard IEC 60062 since 1952. Other standards including DIN 40825 (1973), BS 1852 (1975), IS 8186 (1976), and EN 60062 (1993) have also accepted it. The updated IEC 60062:2016, amended in 2019, comprises the most recent release of the standard.

<span class="mw-page-title-main">Card security code</span> Security feature on payment cards

A card security code is a series of numbers that, in addition to the bank card number, is printed on a credit or debit card. The CSC is used as a security feature for card not present transactions, where a personal identification number (PIN) cannot be manually entered by the cardholder. It was instituted to reduce the incidence of credit card fraud. Unlike the card number, the CSC is deliberately not embossed, so that it is not read when using a mechanical credit card imprinter which will only pick up embossed numbers.

ISO/IEC JTC 1/SC 17 Cards and security devices for personal identification is a standardization subcommittee of the Joint Technical Committee ISO/IEC JTC 1 of the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC), which develops and facilitates standards within the field of identification cards and personal identification. The international secretariat of ISO/IEC JTC 1/SC 17 is the British Standards Institution (BSI) located in the United Kingdom.

The term digital card can refer to a physical item, such as a memory card on a camera, or, increasingly since 2017, to the digital content hosted as a virtual card or cloud card, as a digital virtual representation of a physical card. They share a common purpose: Identity Management, Credit card, Debit card or driver license. A non-physical digital card, unlike a Magnetic stripe card can emulate (imitate) any kind of card.

ISO/IEC 4909 is a 2006 international standard produced by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC) for Identification cards — Financial transaction cards — Magnetic stripe data content for track 3. It was reviewed in 2018. The original ISO 4909 standard appeared in 1987. It is one of a number of international bank card standards. The standard is used for credit cards.

References

  1. ISO/IEC 7813:2006 Information technology -- Identification cards -- Financial transaction cards
  2. 1 2 3 "Magnetic stripe card standards" (PDF). MagTek. 2011. Archived (PDF) from the original on 20 August 2017. Retrieved 21 December 2023.

Implementations