Use a QR code.
I don't know how you would keep the person responsible for putting the key on the cap from redeeming it themselves, though.
Have a machine do it I guess, and you'll know who's been redeeming them if suddenly all your customers are unable to redeem their codes
Can we have it glow in the dark like nukacola?