EAST GREENBUSH — Two New York City men were charged Tuesday for an alleged credit card scam that netted thousands of dollars worth of cash and merchandise from Capital Region stores, town police said.

Police say Joseph G. Baranek, 29, and Balar Warren, 23, targeted retail establishments for money and goods through fraudulent credit card transactions. Town Justice Mary Pat Donnelly arraigned the men and sent them to Rensselaer County Jail on $25,000 bail, according to police.

The two stole credit cards through the mail or elsewhere and altered their digits to match that of a valid, unsuspecting account holder, police said.