This API request enables the operator to check the campaign history of specific player.
PlayerBonusBalance() Request
Type | Input |
---|---|
HTTP Method | POST |
API URL | https://<API_BASE_URL>/wallet/get-bonus-balance/ |
Headers | "Content-Type": "application/json" |
POST Parameters | json object e.g.: { |
Parameters | Type | Description |
---|---|---|
api_key | String | API Key allocated to each front-end |
campaign_id | String | ID of the respective campaign. |
player_id | String | Id of the player |
PlayerBonusBalance() Response & Example
{
"result": {
"player_id": "9",
"state": "canceled",
"bonus_balances": [{
"bonusid":"9hTJa1QbqDgYGoiefFokxEmItaF28Foe87hxInIt",
"awarded_date": "2023-05-25",
"awarded_time": "13:40:51.584831",
"rounds": 5,
"rounds_left": 5,
"game_ids": "[1236]",
"start_time": "2023-05-25T13:40:51.584085Z",
"expiration_time": "2023-05-25T19:10:00Z"
}],
"result": "OK"
}
}
Object/Key in Response Object | Type | Description |
---|---|---|
result | JSON Object | Key result contains the JSON object as value. |
player_id | String | Id of the player |
state | String | campaign status |
bonus_balances | JSON Object | Id belongs to respective campaign. |
bonus_balances.bonusid | String | unique ID of campaign record at Netgaming end |
bonus_balances.awarded_date | String | Campaign awarded date |
bonus_balances.awarded_time | String | Campaign awarded time |
bonus_balances.rounds | String | Number of rounds awarded |
bonus_balances.rounds_left | String | Number rounds completed |
bonus_balances.game_ids | list | Campaign created for the game_ids |
bonus_balances.start_time | String | Campaign start time |
bonus_balances.expiration_time | String | Campaign end time |