/
v3.0.11Get access

getClubSubscriptions

The Club Subscriptions feature allows partners to offer exclusive membership variants to their players. By purchasing a subscription tier, players unlock specific advantages, such as the ability to purchase Jet Shop items at reduced or exclusive prices. via this method user can see available subscriptions

Request parameters:

The method works without parameters

Call example:

getClubSubscriptions({
  command: 'get_club_subscriptions',
  params: []
})

Response examples:

{
  code: 0,
  rid: '0',
  data: {
    result: 0,
    result_text: null,
    details: [{
      Id: 2,
      PartnerId: 1019,
      Tier: 2,
      TierName: 'Pulse',
      Period: 10,
      CurrencyId: 'EUR',
      Price: 1
    }, {
      Id: 3,
      PartnerId: 1019,
      Tier: 3,
      TierName: 'Eclipse',
      Period: 10,
      CurrencyId: 'EUR',
      Price: 2
    }, {
      Id: 4,
      PartnerId: 1019,
      Tier: 1,
      TierName: 'Spark',
      Period: 10,
      CurrencyId: 'EUR',
      Price: 3
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
details
array-
└─
object
└─ id
Idnumber-
└─ PartnerId
PartnerIdnumber-
└─ TierName
Name of the subscription planstring-
└─ Period
Number of days how long the plan is activestring-
└─ CurrencyId
Currencystring-
└─ Price
Price of subscriptionnumber-