How to validate a CC is real. Cool!

Discussion in 'Credit Talk' started by snakeman, Oct 11, 2003.

  1. snakeman

    snakeman Well-Known Member

    Credit Card Validation - Check Digits

    ------------------------------------------------------------
    This document outlines procedures and algorithms for Verifying the accuracy and validity of credit card numbers. Most credit card numbers are encoded with a "Check Digit". A check digit is a digit added to a number (either at the end or the beginning) that validates the authenticity of the number. A simple algorithm is applied to the other digits of the number which yields the check digit. By running the algorithm, and comparing the check digit you get from the algorithm with the check digit encoded with the credit card number, you can verify that you have correctly read all of the digits and that they make a valid combination.

    Possible uses for this information:

    When a user has keyed in a credit card number (or scanned it) and you want to validate it before sending it our for debit authorization.
    When issuing cards, say an affinity card, you might want to add a check digit using the MOD 10 method.
    1. Prefix, Length, and Check Digit Criteria
    Here is a table outlining the major credit cards that you might want to validate.

    CARD TYPE Prefix Length Check digit algorithm
    MASTERCARD 51-55 16 mod 10
    VISA 4 13, 16 mod 10
    AMEX 34
    37 15 mod 10
    Diners Club/
    Carte Blanche 300-305
    36
    38 14 mod 10
    Discover 6011 16 mod 10
    enRoute 2014
    2149 15 any
    JCB 3 16 mod 10
    JCB 2131
    1800 15 mod 10


    2. LUHN Formula (Mod 10) for Validation of Primary Account Number

    The following steps are required to validate the primary account number:


    Step 1: Double the value of alternate digits of the primary account number beginning with the second digit from the right (the first right--hand digit is the check digit.)

    Step 2: Add the individual digits comprising the products obtained in Step 1 to each of the unaffected digits in the original number.

    Step 3: The total obtained in Step 2 must be a number ending in zero (30, 40, 50, etc.) for the account number to be validated.

    For example, to validate the primary account number 49927398716:

    Step 1:

    4 9 9 2 7 3 9 8 7 1 6
    x2 x2 x2 x2 x2
    -----------------------------------------------------------------
    18 4 6 16 2

    Step 2:

    4 + (1+8) + 9 + (4) + 7 + (6) + 9 + (1+6) + 7 + (2) + 6

    Step 3:

    Sum = 70 : Card number is validated

    Note: Card is valid because the 70/10 yields no remainder.

    The great folks at ICVERIFY are the original source of this data.
     
  2. Butch

    Butch Well-Known Member

    Gotta link Snake?

    :)
     
  3. snakeman

    snakeman Well-Known Member

    Sorry Butch, got a call to help my brother track a dear he got tonight.

    Ummm the link is to a website I happened upon. I think it is www.blackmarket-press.net

    Go to the underground info link for the stuff I was interested in.

    SnakeMan
     
  4. jlynn

    jlynn Well-Known Member

    He lost his significant other, or a DEER????

    Save me some backstrap.
     
  5. snakeman

    snakeman Well-Known Member

    LOL, no loin tonight!

    No a white tailed doe he shot bow hunting last night.

    We tracked her for 3 miles, crossed 1 road before giving up.

    He owes me BIG TIME!
     
  6. DHK

    DHK Well-Known Member

    If you place the CC under a UV light (blacklight), you'll be able to see the following:

    Visa: Dove in middle of the card

    Mastercard: "M C" on bottom by name and account #.

    CA ID/DL: You'll see the California flag 2x on bottom IN COLOR.
     
  7. Butch

    Butch Well-Known Member

    Nothin personal Snake, but perhaps your brother could find something more constructive to do with his time than shoot baby deer with high powered weapons.

    JMO

    .
     
  8. GEORGE

    GEORGE Well-Known Member

    Re: Re: How to validate a CC is real. Cool!

    WHO KILLED BAMBI???

    :)
     
  9. numnuts20

    numnuts20 Well-Known Member

    Re: Re: How to validate a CC is real. Cool!

    more stuff with CC numbers..........

    ANSI Standard X4.13-1983 is the system used by most national credit-card systems. ...................

    Here are what some of the numbers stand for:

    The first digit in your credit-card number signifies the system:
    3 - travel/entertainment cards (such as American Express and Diners Club)
    4 - Visa
    5 - MasterCard
    6 - Discover Card

    The structure of the card number varies by system. For example, American Express card numbers start with 37; Carte Blanche and Diners Club with 38.
    American Express - Digits three and four are type and currency, digits five through 11 are the account number, digits 12 through 14 are the card number within the account and digit 15 is a check digit.
    Visa - Digits two through six are the bank number, digits seven through 12 or seven through 15 are the account number and digit 13 or 16 is a check digit.
    MasterCard - Digits two and three, two through four, two through five or two through six are the bank number (depending on whether digit two is a 1, 2, 3 or other). The digits after the bank number up through digit 15 are the account number, and digit 16 is a check digit.
     

Share This Page