Federal reserve notes have serial numbers, which may be recorded when placed into an ATM. Perhaps they then look at which bills with withdrawn by which account and/or retrieve ATM video footage. Or maybe I've been watching too many police shows.
recording a small serial number from a blurry, black and white, 480*360 camera? good luck.