Scan referral code