Affiliate for Membership Plugin

Hello! Is there a way to add an affiliate functionality via membership plugin? We want to give a specific bonus to someone who refers the membership program so is there a way to add it up in the plugin? thank you very much!