Affiliates Actions Channel
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | |
services |
Object | |
emit |
function |
Returns:
- Type
- function
Methods
(inner) claimAffiliateEarnings(params) → {Object}
Clain the users's affiliate earnings
Parameters:
Name | Type | Description |
---|---|---|
params |
Object |
Returns:
receipt
- Type
- Object
(inner) createAffiliateCampaign(params) → {Object}
Create a new affiliate campaign
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Object
(inner) endAffiliateCampaign(params) → {Object}
End a campaign
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Object
(inner) getAffiliateConfig(params) → {Object}
Get affiliate configuration
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Object
(inner) joinAffiliateCampaign(params) → {Object}
Join a players affiliate campign
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
- Type
- Object
(inner) listAffiliateCampaigns(params) → {Array}
Get affiliate configuration
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
list of affiliate campaigns
- Type
- Array
(inner) listMyAffiliates(params) → {Array}
List the user's referrals
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
Returns:
list of catalog entries
- Type
- Array
(inner) myAffiliateFunds(params) → {Object}
Get information about the users affiliate funds
Parameters:
Name | Type | Description |
---|---|---|
params |
Object |
Returns:
memo
- Type
- Object