Hook to obtain a referral code by account ID.
account_id
const { referral_code, error, isLoading } = useGetReferralCode("<account_id>");