This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-igaming / ReferralInfo

ReferralInfo ​

The player's referral code, link and totals (GET /referrals). Money values in minor units (integers): the gateway sends them as a float in major units and the SDK converts.

Properties ​

bonusPerReferral ​

bonusPerReferral: number

Bonus per referral, in minor units (the currency does not come with it).


code ​

code: string | null

The player's referral code; null when the gateway sends it empty.


completedReferrals ​

completedReferrals: number

Completed referrals (integer).


link: string | null

Referral link ready to share; null when the gateway sends it empty.


minDeposit ​

minDeposit: number

Referee's minimum deposit, in minor units (the currency does not come with it).


pendingReferrals ​

pendingReferrals: number

Pending referrals (integer).


totalEarned ​

totalEarned: number

Total earned from referrals, in minor units (the currency does not come with it).


totalReferrals ​

totalReferrals: number

Total referrals (integer).