how does one check credit card numbers for an e-commerce site?
That's is a pretty broad question. This varies based on the Credit Card Transaction company that you have obtain... PayFlow is one example.... Many have APIs with documentation for you to use... Some even have examples...