Referral Code API's

@aaustin 
Should we use a more unique key, like '$referral_code'?