/
v3.0.11Get access

getClientRewardDetails

To get rewards details by ID assigned to the client

Request parameters:

NameDescriptionTypeValuesDefaultSource
rewardId
The unique identifier of the reward for detailsnumber--
Key from responseId
This method is usually used with these methods:

Call example:

getClientRewardDetails({
  command: 'get_client_reward_details',
  params: {
    reward_id: 34
  },
  rid: 847351230
})

Response examples:

{
  code: 0,
  data: {
    result: 0,
    result_text: null,
    details: [{
      Id: 1,
      Amount: 25.5,
      GameName: 'Book of Dead',
      CreatedDateStamp: 1709035200
    }, {
      Id: 2,
      Amount: 10,
      GameName: 'Starburst',
      CreatedDateStamp: 1708948800
    }, {
      Id: 3,
      Amount: 5.75,
      GameName: "Gonzo's Quest",
      CreatedDateStamp: 1708862400
    }]
  },
  rid: 847351230
}

Response parameters:

NameDescriptionTypeValues
Id
unique identifier of the reward history entrynumber-
Amount
amount rewarded in the transactionnumber-
GameName
name of the game where the reward was earnedstring-
CreatedDateStamp
Unix timestamp of when the reward was creatednumber-