It's basically the same thing. Both codes offers rewards to new users. The difference is that a promo code is usually a code created by a company to incentivize users to purchase something. Where a referral code is a code provided to an existing customer who can share it with friends and family in order to earn money or rewards.