User:Rajrajasthan

The numbers found on credit cards and bank cards have a certain amount of internal structure, and share a common numbering scheme. Credit card numbers are a special case of ISO/IEC 7812 bank card numbers.

An ISO/IEC 7812 number contains a single-digit Major Industry Identifier (MII), a six-digit Issuer Identification Number (IIN), an account number, and a single digit check sum calculated using the Luhn algorithm. The MII is considered to be part of the IIN.

The term "Issuer Identification Number" (IIN) replaces the previously used "Bank Identification Number" (BIN). See ISO/IEC 7812 for more information.

= Prefixes = The card number's prefix is the sequence of digits at the beginning of the number that determine the credit card network to which the number belongs. The first 6 digits of the credit card number are known as the Issuer Identification Number (IIN). These identify the institution that issued the card to the card holder. The rest of the number is allocated by the issuer. The card number's length is its number of digits. all credit card are different so it is difficult to give an exact number.

Cards participating in the IIN system include:
 * credit cards
 * debit cards
 * charge cards
 * stored-value cards
 * Electronic Benefit Transfer cards

In the States, IINs are also used in NCPDP pharmacy claims to identify processors, and are printed on all pharmacy insurance cards. IINs are the primary routing mechanism for realtime claims. Each processor has one or more IINs, which it divides into plans by using Group Number and Processor Control Number fields.

Online merchants may use IIN lookups to help validate transactions. For example, if the credit card's IIN indicates a bank in one country, while the customer's billing address is in another, the transaction may call for extra scrutiny.

The prefixes and lengths for the most common card types are:

On November 8, 2004, MasterCard and Diner's Club formed an alliance. Cards issued in Canada and the USA start with 54 or 55 and are treated as MasterCards worldwide. International cards use the 36 prefix and are treated as MasterCards in Canada and the US, but are treated as Diner's Club cards elsewhere. Diner's Club International's website makes no reference to old 38 prefix numbers, and they can be presumed reissued under the 55 or 36 IIN prefix. Effective October 16, 2009, Diner's Club cards beginning with 30, 36, 38 or 39 will be processed by Discover Card.

Effective October 1, 2006, Discover will now be using the entire 65 prefix, not just 650. Also, similar to the MasterCard/Diner's agreement, China Union Pay cards are now treated as Discover cards and accepted on the Discover network.

A search on VISA's website results in many references to card numbers being 16 digits long. However, searching for references to 13-digit cards will turn up no results. All 13-digit account numbers have since been migrated to 16-digit account numbers. At least 2 different schemes were devised for this which included postpending 3 digits to the very end of the account number, and, in more rare cases, inserting 3-digits immediately preceding the (former) final 3-digits (of the old 13-digit number).

Switch was rebranded as Maestro in mid 2007. Maestro is now VISA Electron's main competitor in the European debit card market.

Solo can be used outside of Britain if the card displays Maestro.

Coverage chart
{| class="wikitable"
 * digits
 * 00- 17
 * 1800
 * 1801- 2013
 * 2014
 * 2015- 2130
 * 2131
 * 2132- 2148
 * 2149
 * 215- 299
 * 300- 305
 * 306- 33
 * 34
 * 35
 * 36
 * 37
 * 38
 * 39
 * 4
 * 50
 * 51- 55
 * 560000- 560220
 * 560221- 560225
 * 560226- 5609
 * 622126- 622925
 * 622926- 649
 * 65
 * 66- 9
 * style="background:#DDDDFF" |13
 * style="background:#7777FF" |Visa
 * style="background:#DDDDFF" |13
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa
 * style="background:#7777FF" |Visa


 * style="background:#DDEEFF" |14
 * style="background:#DDEEFF" |14
 * style="background:#DDEEFF" |14
 * style="background:#DDEEFF" |14

… ‘ “ ’ ” ° ″ ′ ≈ ≠ ≤ ≥ ± − × ÷ ← → · §
 * style="background:#CCEECC" |DC-CB
 * style="background:#CCEECC" |DC-Int
 * style="background:#CCEECC" |DC-CB
 * style="background:#CCEECC" |DC-Int
 * style="background:#CCEECC" |DC-Int
 * style="background:#CCEECC" |DC-Int
 * style="background:#CCEECC" |DC-Int
 * style="background:#EEDDFF" |15
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#EEDDFF" |15
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#EEDDFF" |15
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#229822" |JCB
 * style="background:#CCEfCC" |DC-eR
 * style="background:#CCEfCC" |DC-eR
 * style="background:#CCEfCC" |DC-eR

Section linking
In the HTML code for each section there is an anchor with both "name" and "id" attributes holding the section title. This enables linking directly to sections. These section anchors are automatically used by MediaWiki when it generates a table of contents for the page, and therefore when a section heading in the ToC is clicked, it will jump to the section. Also, the section anchors can be manually linked directly to one section within a page.

The HTML code generated at the beginning of this section, for example, is:  Section linking

A link to this section (Section linking) looks like this:
 *  Section linking 

To link to a section in the same page you can use  displayed text , and to link to a section in another page  displayed text .

The anchors disregard the depth of the section; a link to a subsection or sub-subsection etc. will be   and    etc.

An underscore and number are appended to duplicate section names. E.g. for three sections named "Example", the names (for section linking) will be "Example", "Example_2" and "Example_3". However, after editing section "Example_2" or "Example_3" (see below), one, confusingly, arrives at section "Example" from the edit summary.

If a section has a blank space as heading, it results in a link in the TOC that does not work. For a similar effect see NS:0.

To create an anchor target without a section heading, you can use a span:    but this won't work with some very old browsers.

Notes:
 * Using the date formatting feature in section headings complicates section linking.
 * An internal link in a section heading does not give complications in terms of section linking:
 * 
 * Help:Section
 * http://meta.wikimedia.org/wiki/Help:Section#Demo_http:.2F.2Fa
 * The pipe trick does not work for section links:
 *  </tt> ->
 * <tt> page </tt> -> page
 * <tt> namespace:page </tt> -> namespace:page

For linking to an arbitrary position in a page see linking to a page.

Section linking and redirects
A link that specifies a section of a redirect page corresponds to a link to that section of the target of the redirect.

A redirect to a section of a page may also work in some environments (see bug 218), try e.g. the redirect page Section linking and redirects. (One might have to force reload CSS style sheets.)

A complication is that, unlike renaming a page, renaming a section does not create some kind of redirect. Redirect pages can be categorized by adding a category tag after the redirect command. In the case that page links to the section; however, unless an explicit link is put, the section does not link to the category. On the category page redirects are displayed with class redirect-in-category, so they can be shown in e.g. italics; this can be defined in MediaWiki:Common.css. See also Categorizing redirects.
 * Instead of linking directly to a section, link to a page that redirects to the section; when the name of the section is changed, change the redirect target. This method also provides more or less a "what links here" for sections (look for redirects linking to the page, select the one linking to the section; this may be recognized from the name even if the section name has changed).
 * Put an anchor and link to that
 * Put a comment in the wikitext at the start of a section listing pages that link to the section
 * Make the section a separate page/template and either transclude it into, or just link to it from, its parent page;