When you buy a gift card, you will notice that it either has a magnetic strip or a bar-code that can be read with the help of an electronic credit card machine. The price of the card, the merchant who has sold it, the card number, are all details that are stored in this magnetic strip.