Link Referrers to Referees

  1. When referrers share their referral code to their referees, they need a place to enter this referral code i the Merchants UI.

  2. Merchants must add the ability to enter the code during sign-up code and call the Payram API described below to link the new user to their referrer.

  3. To link a referee to their referrer you will need to send your API key, referrers coupon code, referees email and unique reference ID.

Request & Response Example:

curl --location --request POST '<https://payram.resuefas.vip:8443/api/v1/referral/referee>' \\
--header 'API-Key: The API Key Shared with you.' \\
--header 'Content-Type: application/json' \\
--data-raw '{
    "email": "[email protected]",
    "referrerCode": "M71DZ5E",
    "referenceID": "67890"
}'
  1. Users are more likely to enter a referral code if they receive a reward for doing so. This can be configured when creating the campaign.

  2. If you are planning to give a discount to the incoming users, make sure you configure this discount during your checkout process.

Next Steps:

  • Configure the event(s) at which you want the campaign rewards get activated for your users.

Last updated