Interesting old patent on verifying credit card numbers via mechanical means
patents.google.com
patents.google.com
(trust that its a real card. you don't get to know if the gentleman in a red striped shirt with a zorro eye-band is a good person or not, simply carrying a bag labelled "swag")