Wagering Complete Info
Request (GET)
/gateway/bonus/{version}/wagering-complete/{brand_id}/{player_id}/{unique_ref_id}
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | int | true | none |
| player_id | path | int | true | player unique identifier |
| unique_ref_id | path | int | true | player unique reference for wagering completed event |
| x-auth-token | header | string | true | Player session token |
Response
Status 200
{
"status": "Success",
"data": [
{
"bonus_id": "776262",
"bonus_money_before": "100",
"bonus_money_removed": "100",
"real_money_added": "100",
"max_win": "unlimited"
},
{
"bonus_id": "776266",
"bonus_money_before": "11",
"bonus_money_removed": "11",
"real_money_added": "11",
"max_win": "unlimited"
},
{
"bonus_id": "776257",
"bonus_money_before": "10",
"bonus_money_removed": "10",
"real_money_added": "10",
"max_win": "unlimited"
}
]
}Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 412 (in case of non-existing details for request details)
{
"status": "Error",
"data": "wagering complete in progress",
"message": "wagering complete in progress",
"userFriendlyMessage": "wagering complete in progress"
}Status 500
{
"result": "internal server error"
}Response Parameters:
| Name | Description |
|---|---|
| bonus_id | unique identifier for specific bonus |
| bonus_money_before | bonus money before event in specific bonus |
| bonus_money_removed | bonus money removed from bonus |
| real_money_added | real money added to player balance |
| max_win | max winning definition for bonus, please note that if real_money_added is less than max_win, it might change |