# after_activateaffiliate

Client was activated as affiliate

# Hook parameter

An array is passed to hook containing following keys/values (note: if you have custom registration fields they may differ):

Key Type Description
client_id int Client ID
affiliate_id int Affiliate ID
parent_id int Parent Affiliate ID
bonus float Monetary bonus for becoming an affiliate, if any
withdraw string Selected affiliate withdraw method
sendreport int Should monthly report be sent 1/0

# Sample hook files

Last Updated: 3/17/2023, 8:40:19 AM