On a Visa and MasterCard, the security code (CVV code) is located on the rear of the card and is made up of the last three digits of the number. On an American Express card, a four-digit number (CID code) is printed on the front of the card to the right and above an embossed fifteen-digit card number.