How tell the difference between a Debit Card and a

2019-01-22 09:04发布

How does one determine that the card a person is entering is a debit card, check card, or credit card?

I am looking at this for web payments in the US only. This is for utility billing.

8条回答
我欲成王,谁敢阻挡
2楼-- · 2019-01-22 09:26

Wiki has lists of credit vs. debit prefixes

However, IIRC some cards may be used as both credit and debit depending on context.

查看更多
Summer. ? 凉城
3楼-- · 2019-01-22 09:26

Binbase will tell you whether card is debit or credit based on the first six digits of the card number. You can do 10 manual lookups per day or you can pay to buy the whole database. www.binbase.com/search.html

The information returned is in this format:

Card Brand: VISA
Issuing Bank: BRANCH BANKING AND TRUST COMPANY
Card Type (Credit/Debit): DEBIT
Card Level: CLASSIC
ISO Country Name: UNITED STATES
ISO Country A2 Code: US
ISO Country A3 Code: USA
ISO Country Number: 840
Bank Website: HTTP://WWW.EXAMPLE.COM
Bank Phone: 555-555-5555 OR 800-555-5555
查看更多
等我变得足够好
4楼-- · 2019-01-22 09:40

not sure what you need that for, but all POS systems i'm aware of ASK THE USER to specify the type of the card.

you can run Debit as Credit - no need for pin number
you can run Credit as Debit - enter in your pin, and transaction will count as cash advance

查看更多
聊天终结者
5楼-- · 2019-01-22 09:42

Number ranges. Here is a small excerpt of an old specification I had once.

  • 510000 - 510249 16 Now Reserved for Europay (MCS and MCG)
  • 510250 - 510399 16 Now MasterCard debit card
  • 510400 - 510549 16 Now MasterCard Electronic
  • 510550 - 510999 16 Now MasterCard debit card
  • 511000 - 511204 16 Now MasterCard debit card
  • 513000 - 513999 16 Now Reserved for Use by Europay France ICA - 1031 ONLY
  • 514130 - 514629 16 Now MasterCard debit card
  • 514630 - 514730 16 Now MasterCard Business Card (previously noted as business debit)
  • 514731 - 514740 16 Now World MasterCard (U.S.)
  • 514741 - 514760 16 Now Platinum MasterCard debit card
  • 514761 – 514800 16 Now MasterCard Standard (Proposed New Premium Product – U.S.) – 40
  • 514801 – 514815 16 Now MasterCard Standard (Proposed New Premium Product – LAC) – 15
  • 514816 - 514830 16 Now MasterCard Standard (Proposed New Premium Prodct - SAMEA) - 15

There may well be other methods by now for instance in the return message from the processor, but I have not had to deal with this for a long time. We process everything as a credit card and if the card is strictly a debit card the bank just takes care of it.

查看更多
成全新的幸福
6楼-- · 2019-01-22 09:44

I found a Free BIN checker json API. https://api.freebinchecker.com/bin/{bin} for checking a single BIN number. It accepts a number of length six, the initial digits of any payment card. The app will perform database lookup to return all the relevant information stored for the BIN and about 350,000+ records. There also have premium feature.

You can get card type & other relevant info. No need full card number except first 6 digit.

Example:

**Request:**  
https://api.freebinchecker.com/bin/370245   

**Response:** 
{"valid":true,
"card":{  
    "status":"active",
    "brand":"VISA",
    "type":"credit",
    "category":"STANDARD",
    "sub-category":"The payment system \"Visa\""
},
"country":{  
    "name":"United States",
    "alpha-2-code":"US",
    "numeric-code":"840",
    "latitude":"37.09024",
    "longitude":"-95.712891"
},
"issuer":{  
    "name":"JPMORGAN CHASE BANK, N.A.",
    "url":"www.jpmorganchase.com",
    "tel":"1-800-565-3460-9200"
}}

For more info: Freebinchecker

查看更多
ら.Afraid
7楼-- · 2019-01-22 09:46

I'm thinking you are getting confused that when you swipe the card in a store the machine knows which kind of card you've got. Although with my Dutch debit card I always got the option to choose..

But I'm guessing the magnetic strip stores more than just the number, and the card readers use that to determine your type of card.

You'll just have to join the other applications/sites and ask the user :)

查看更多
登录 后发表回答