πReferred users for a specific Affiliate
The getPayoutsByReferrer method retrieves payout and volume information of the referred users for a specific affiliate.
const results = await Fuul.getPayoutsByReferrer({
user_identifier: '0x12345',
user_identifier_type: UserIdentifierType.EvmAddress
});It returns an object where each key is a referred address and each value contains:
Volume generated
Earnings attributed to the referrer
Last updated