Skip to main content

Game Server Types

Partner Program​

ReferralProgramConfig​

FieldTypeDescription
enabledBoolean!Whether the program is enabled for the project
currencyEnabledBoolean!Whether referral currency is available
currencyNameString!Localized currency name

ReferralProfile​

FieldTypeDescription
balanceFloat!Available balance
earnedFloat!Total earned amount
spentFloat!Total spent amount
referralCountInt!Invited player count
discountPercentFloat!Current discount
nextMilestoneCountIntNext level requirement
nextDiscountPercentFloatNext level discount
milestoneProgressFloat!Progress to the next level

ReferralConnection​

FieldTypeDescription
nodes[ReferralUser!]!Invited users
totalCountInt!Total user count
pageInfoReferralPageInfo!Cursor pagination state

ReferralPageInfo​

FieldTypeDescription
hasNextPageBoolean!Whether a next page exists
hasPreviousPageBoolean!Whether a previous page exists
endCursorStringCursor of the last item

ReferralUser​

FieldTypeDescription
idInt!User ID
displayNameString!Public display name
createdAtStringRegistration date

See partner program operations.