adds back amount and referral_code