macOS Sequoia 15
Click your name in the bottom-left corner (or click Sign In if you’re not signed in).
Click Redeem Gift Card in the top-right corner.
Click Use Camera, then hold the gift card 4 to 7 inches (10 to 18 centimeters) from the camera. Make sure the code area is near the center of the preview area, then hold the card steady until it’s redeemed.