POST
/
create

Authorizations

X-API-KEY
string
headerrequired

Query Parameters

lead_id
string

Lead's id who generated the reward

uid
string

UID of the lead who generated the reward

email
string

Email of the lead who generated the reward.

promotion_id
string

Promotion id of the promoter who owns the reward

ref_id
string

Promotion referral id of the who owns the reward

reward_type
enum<string>
required

Type of reward

Available options:
cash,
points,
credits,
free_months,
discount_per,
discount_mon
amount
integer
required

Amount of the reward. For reward_type cash(monetary commission) the amount is in cents

status
enum<string>

can be approved(default if this param is omitted), pending or denied

Available options:
approved,
pending,
denied
skip_email_notification
boolean

Set this to true to skip email notifications. Default is false.

Response

200 - application/json
id
number

ID of the reward

status
enum<string>

status of the reward.

Available options:
approved,
pending,
denied
amount
integer

amount of the reward. For reward_type cash(monetary commission) the amount is in cents

unit
enum<string>

The reward unit.

Available options:
cash,
credits,
points,
free_months
created_at
string

ISO date string at which the reward is created

lead
any
event_id
string
conversion_amount
integer
tier_level
integer

The reward tier level

promoter
object
promotion
object