Api Model:AffiliateReferralCommission

From HasOffers

Required Parameters

  • affiliate_id - Id of affiliate.
    • Values: (int)
  • rate_type - Method to compute commission from field. Select 'flat' if a commission is being made per each referral account . Select 'percentage' to compute commission as a percentage of the field generated by referral accounts.
    • Values: flat, percentage
    • Example - rate_type 'flat': 10 referral accounts x $5 per referral = $50 commission
    • Example - rate_type 'percentage', commission field 'payout': $100 in payout x 5% = $5 commission
  • field - Field used from stats to base commission calculations. Only required if rate_type is set to 'percentage'.
    • Values: payout, revenue, profit
  • rate - Rate used to compute commission calculation.
    • Values: (float, percentage entered as whole number)
    • Example: 10 for 10%
  • min_commission - Minimum commission amount that must be met before commission will be paid.
    • Values: (float)

 
Email this page to a friend or co-worker