Pull a fast one (Origin):
The actual source of the expression is from the early 19th century when paper currency was first coming into public acceptance, after centuries of exclusive reliance on precious-metal coinage.
To "pull a fast one" refers to palming (pulling) a bill or banknote during a shortchanging maneuver. The analogy to card-playing seems obvious, but I think "pull a fast one" is more a grassroots term than a bit of gambling argot, and in the early days of paper money the average person was much more likely to come into contact with shortchange grifters than cardsharks.