Trigger Events
Whenever a success event related to a campaign occurs on the merchant's website, an API call must be made to notify Payram.
Events can be of two types, either those with amount, or without amount. This is configured during campaign creation.
The amount is used to calculate percentage based commission or discount if that is the kind of reward you want to give to your users
To trigger an event for a particular campaign, you will need your API key, the
event_key
, unique reference ID of the referee and optionally the amount.This
event_key
is configured by you during the campaign setup and you can find it after completing the setup if you try to edit a campaign.
Request & Response Example:
Last updated