Thursday, August 28, 2014

Explanation of Codes

Add 1 more article that I think will interest, though not many, but it will find its readers :)
 
And so, the article ...
 
In addition to the 101 and 201 are also other codes) now describe what we should be written on the second track, which can contain up to 40 characters:
 
First there is the start symbol -%
Then comes the PAN - up to 19 digits, in this case, the card number. 
It includes a code emitter card (IIN: Issuer Identification Number) (up to 6 characters), which in turn consists of:
Primary industry the identifier (MII: Major Industry Identifier) ​​(up to 2 characters):
0: Reserved for future use standard ISO / TC 68.
00: Not for card issuance
1: Airlines.
2: Airlines and for future use.
3: Travel and entertainment.
4: Banking / Finance.
5: Bank / Finance.
59: Financial institutions not falling within the ISO.
6: Banks and merch.
7: Fuel industry.
8: Telecommunications and for future use.
89: Telecommunications and privat agencies.
9: Reserved for national use.
 
Next is the emitter code (II: Issuer Identifier), up to 5 digits, in some cases, words or long INN size if it extends beyond the ISO. If MII is 9 then the first three numbers - is the country code (for us is of no interest)
 
Then comes the personal account number (IAI: Individual Account Identification), up to 12 digits, is assigned to the organization that issued the card
 
Then there is one figure that is used to check the number and other information vycheslyaetsya by the formula: (a bit later I will lay out the formula)
MasterCard PAN consists of no more than 16 characters, while the VISA - 13 or 16, including the check digit.
 
Next is the delimiter, one character - =
 
I watch him in some cases the code of the country (if PAN starts with 59), defined in ISO 3166: 724 for Spain, 840 for the USA and so on.
 
Then, in most cases, is the date of expiry of the card in the format YYMM (godmesyats).
 
Then comes a three-character code for the service, it consists of:
 
The first digit defines where you can use the map:
0: Reserved for future use.
1: For international use.
2: For international use, with restrictions.
3: Reserved for future use.
4: Reserved for future use.
5: For internal use only, except for pre-arranged agreements.
6: For internal use only, except for pre-arranged agreements with restrictions.
7: Do not to pay, in addition to pre-negotiated agreements.
8: Reserved for future use.
9: To test.
 
The second digit defines the terms of use / authorization cards (Authorization processing):
0: Transactions carried out according to standard rules.
1: Reserved for future use.
2: The transaction is carried emitter must be online.
3: Reserved for future use.
4: The transaction is carried emitter must be online, except for pre-negotiated agreements.
5: Reserved for future use.
6: Reserved for future use.
7: Reserved for future use.
8: Reserved for future use.
9: Reserved for future use.
 
The third digit defines services and conditions requirements PIN
0: No restrictions, need PIN.
1: No restrictions.
2: Products and services (not Cash).
3: ATM only need a PIN.
4: Only money.
5: Products and services (not Cash) and need a PIN.
6: Without limitation, PIN on demand.
7: Goods and services (not Cash) and PIN on demand.
8: Reserved for future use.
9: Reserved for future use.
 
Then there is a hash PVV (PIN Verification Value), 5 characters, followed by the characters for use zarezerviruemye emitter. And after all it is worth trailing -?
 
An example of the second track (invented); 4598530106131217 = 06081211834918387276?
 
 
(C.) Author unknown.

0 Comments:

Post a Comment