He stole a total of $400 (Rs 25,000) from the store, court documents seen by AFP showed.
Batman also pleaded guilty to various other charges, including stealing his brother's ATM card to make withdrawals and consuming heroin. He was sentenced to a total of 33 months in jail.
Batman became a social media sensation after an image of his identity card with his unusual name was circulated online.
A "Batman bin Suparman Fan Club" page on social networking site Facebook has garnered nearly 11,000 likes so far.