The part-time worker was arrested Thursday for stealing credit card details to buy $2,600 (270,000 Japanese yen) worth of bags from online shopping sites last March, according to the Tokyo Metropolitan Police.

A police source familiar with the investigation told CNN that the man, who worked at a shopping mall in Koto ward, had allegedly memorized customers’ credit card information while processing their orders — then recalled the credit card details later to shop online.

The suspect has a photographic memory and police have found a notebook with card details listed in it, said the source working on the investigation.