All Collections
Tips & Tricks
How to Setup Rewardful for Custom Rewards / Customer Referral Programs
How to Setup Rewardful for Custom Rewards / Customer Referral Programs
Charles Rosel avatar
Written by Charles Rosel
Updated over a week ago

Rewardful also supports custom rewards (non-monetary commissions) which can be provided when offering referral programs like refer-a-friend campaigns.

The initial setup of your Rewardful dashboard has to be implemented first:

Once the above is done, additional full-stack development has to be implemented on your platform since you're going to offer custom rewards (non-monetary commissions), given that our affiliate portal only displays monetary commissions.

You would have to host the program's interface in your platform's dashboard so that your referrers/affiliates would be able to see their referral link, and stats, and display the correct rewards that they have earned. Then for functionality, you would connect it to our different API endpoints.

You would still need to create a regular campaign in your Rewardful dashboard to group these referrers which would also serve as your internal records.

For functionality, you would need to focus on the following API endpoints:

  • Create affiliate API endpoint for automatically creating referrer accts in the backend.

    • Use this endpoint to create affiliates for each of your customers that you want to participate in your program

    • This endpoint allows you to assign a "stripe_customer_id" for each affiliate to help you associate the affiliate with the relevant customer in your application

  • Retrieve affiliate API endpoint for retrieving the affiliate data, which would include their referral URL.

    • Use this endpoint to retrieve the corresponding affiliate for your customer

  • For automatically applying the rewards in the referrers' Stripe customer records, you need to create a webhook that will handle this, then it would be triggered by the commission.created event.

  • You also need to mark the commission as paid in your Rewardful dashboard, you can use the Update commission API endpoint to mark a commission as paid after you have applied the reward.


Important

If you're planning to apply credits to your customers' Stripe customer record you will need to do this from your application. You can use the following endpoint from Stripe: Customer credit balance

Did this answer your question?