one might write an app that submits a number to the online tool
Main Topics
Browse All TopicsHi experts,
I'm trying to create a direct debit web app but need a method of checking whether a bank account number and sort-code which have been entered into a web form are valid. I know there is some sort of algorithm for checking the validity of these because there is an online tool at http://www.iban-bic.com/ib
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you intend to do this as a business concern, then I would STRONGLY recommend buying the list. You'll get regular updates to it and you will have legitimate access to it. I suspect that if you do write an app to validate via an online tool and you use it a lot, you'll be blocked. Especially if there is a paid for service!
I'm pretty sure that account numbers/sort codes can be checked for validity with an algorithm (obviously this doesn't check if they are live accounts or not). Try going here: http://www.iban-bic.com/ib
Thanks for your help but I've found the answer here: http://www.ecbs.org/Downlo
I'm assuming from your solution that you are trying to validate these cards and then processing payment offline, maybe putting them manually through a PDQ machine.
If the volume of orders is low enough for you to cope with that then that solution will work.
My attitude is always to think bigger. Your website could increase your reach and so you WANT it to be able to handle as many orders as possible as quickly and securely as possible. For you and the customer.
If you're that small you don't HAVE to be PCI compliant but it looks good if you are. If you're not storing the customer card details properly you're leaving yourself open to a whole can of worms in the future. Not necessarily from hackers but dishonest employees too.
I would always go with a payment gateway solution. If I was a customer and I realised that my card details were just going to sit in an unprotected database or in someones outlook folder I would be horrified and never do business with them.
Think carefully whether this is even the correct solution to the problem.
these things are verified online. Try signing up to a merchant that does online verification like www.itransact.com . Their advisors would contact you and you could liaise your requirements and other details.
Why dont' you just authorize the details with your acquiring bank and get them to check it all for you in real time? Or perhaps if you use a service provider than an API is provided that checks this all for you anyway.
As crmapley suggests, it is likely you will fall under PCI DSS if you are processing credit/debit card numbers. You'll save a headache by outsourcing and paying the 3-4% commission?
Business Accounts
Answer for Membership
by: RQuadlingPosted on 2007-06-28 at 03:10:55ID: 19379289
Bank sort codes are not algorithmic. They are just a list. You can get the list from your bank, but it will cost.
ki/ List_of _Sort_Code s_of_the_U nited_King dom, but that is manually updated.
.uk/FormsL ogin.asp?/ is another potential source.
You can use online resources like http://en.wikipedia.org/wi
http://www.sortingcodes.co
These lists are not free (I've a list from 1999 which cost £2K from Barclays Bank).
My list has just over 7300 entries.
But I can't see any non UK banks.
The data is like ...
0000010000001BARCLAYS REGIONAL OFFICE LONDON CENTRAL LONDON CENTRAL 1099 0000000000000171 441 4444
0000080000001BARCLAYS REGIONAL OFFICE KNIGHTSBRIDGE IBC BOWATER HOUSE,68 KNIGHTSBRIDGE,LONDON,SW1X 7NT 1099 0000000000000171 590 5600 00
0000100000001BARCLAYS REGIONAL OFFICE CITY CORPORATE GROUP CITY CORPORATE GROUP 1099 0000000000000171 283 2161
But this only validates the sort code. The bank account numbers would probably NOT be accessible or validatable, not like CC#s.
And then validatable wouldn't mean a LIVE account, just that the number is valid.