News for hackers. Stuff that matters.
Re:Ribbon BIN API – Find out how your customers are paying by brryant on Wednesday July 23, 2014 @01:35PM (#8075651)
Very cool! But unfortunately the reality is most startups never capture the first 6 numbers of credit cards if they are using a payment gateway (stripe, recurly, etc). Do you have ideas on how we can access the BIN without compromising security if we're using said services?
Re:Ribbon BIN API – Find out how your customers are paying by yookd on Wednesday July 23, 2014 @02:00PM (#8075839)
Hi, I'm David, one of the engineers at Ribbon.

If you use any payment gateway, you need to send the full credit card number from the client so the gateway can return a token that identifies the card in their vault.

You can do the same and write some JS to get the first 6 numbers and send a GET request to our API without compromising security. The BIN (first 6 numbers of credit cards) is not considered the primary account number so it's safe to send (and even store).

Re:Ribbon BIN API – Find out how your customers are paying by kirkbackus on Wednesday July 23, 2014 @05:17PM (#8077009)
Can I store a BIN and associate it to a customer without breaking PCI compliance?
Re:Ribbon BIN API – Find out how your customers are paying by duskwuff on Wednesday July 23, 2014 @05:20PM (#8077023)
You're allowed to store up to the first six and last four digits of a credit card number without encryption.
Re:Ribbon BIN API – Find out how your customers are paying by bradbeattie on Wednesday July 23, 2014 @07:58PM (#8077616)
https://www.pcisecuritystandards.org/documents/pci_dss_v2.pd..., PCI DSS 3.3 would seem to be the most applicable section here.
Re:Ribbon BIN API – Find out how your customers are paying by adrr on Wednesday July 23, 2014 @03:00PM (#8076270)
Think most startups collect BINs. Its easily to have javascript grab the first 6 digits. You already have code that validates the card with luhn check and also determine card type, grab the first 6 characters and stick it in a hidden field.
Re:Ribbon BIN API – Find out how your customers are paying by gkoberger on Wednesday July 23, 2014 @02:14PM (#8075947)
I use it on the client side to show a country icon and credit card issuer, and use Stripe on the backend.
Re:Ribbon BIN API – Find out how your customers are paying by kloncks on Wednesday July 23, 2014 @12:35PM (#8075267)
We built this internally for our needs, then decided to give it out to any service that needs similar functionality. The first six cards of any card tells us some interesting information on the identity of the card, such as type (debit/credit), brand (amex, visa), country (US, ES, GA), and issuer bank (chase, wells), etc.

This would be of good use if you want to do things like, block international cards, charge less for debit cards, or generate more analytics about how you get paid.

We're giving it away for free for most practical purposes, up to 1,000 requests a day. If you want more, just shoot us an email, [email protected]

Re:Ribbon BIN API – Find out how your customers are paying by whisk3rs on Wednesday July 23, 2014 @01:26PM (#8075616)
Where do you get the BIN data?
Re:Ribbon BIN API – Find out how your customers are paying by kloncks on Wednesday July 23, 2014 @01:42PM (#8075700)
A bunch of different sources, including some bank databases. We also have to update it regularly.
Re:Ribbon BIN API – Find out how your customers are paying by zachperret on Wednesday July 23, 2014 @05:01PM (#8076932)
This is neat! How does the data differ from http://www.binlist.net/? More current?
Re:Ribbon BIN API – Find out how your customers are paying by kloncks on Wednesday July 23, 2014 @07:22PM (#8077483)
Bigger database, more current, more updated, easier to deal with, among other things :)
Re:Ribbon BIN API – Find out how your customers are paying by nijiko on Wednesday July 23, 2014 @08:13PM (#8077664)
Way easier and more secure to simply use scripting to do this locally.
Re:Ribbon BIN API – Find out how your customers are paying by Atlas on Wednesday July 23, 2014 @02:58PM (#8076257)
This is very useful data if you are doing payment aggregation. Per association rules, you cannot discriminate against different card types.
Re:Ribbon BIN API – Find out how your customers are paying by kloncks on Wednesday July 23, 2014 @03:08PM (#8076328)
We charge less for debits vs credits, rather than giving a different fee for Visa vs MasterCard.
Re:Ribbon BIN API – Find out how your customers are paying by robkao on Friday July 25, 2014 @07:27AM (#8084660)
this is super sweet! will give this a shot in our app.