If you purchase a Google Play card through email, you will get a digital code instead of a physical card. So, there are no chances of scratching off the codes. However, if you have purchased a physical copy of a card and accidentally scratched off the code, contacting the Google support team with your purchase receipt will help.