The first general-purpose credit card was the Diners Club card, which was invented by Frank McNamara and Ralph Schneider and first used in 1950 in New York City.