Grant Bonus
This method validates the parameters of a bonus. use gateway.[msdomain] Request Parametercomment & givenBy parameters are mandatory for all actionsAdditional Request Parameters Required for each bonus ( request must contain all )
Request (POST)
/gateway/bonus/{version}/grant/{brand_id}/{player_id}/{bonus_action}
Parameters:
{
"bonusName": "string",
"newBonusId": "string",
"amount": 14.3,
"wageringMultiplier": 3.3,
"WageringBase": "string",
"givenBy": "string",
"comment": "string",
"wageringRequirement": 0
}| 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 | none |
| bonus_action | path | string | true | none |
| Authentication | header | string | true | header received from ‘Login’ |
Response
Status 200
{
"refId": 512
}Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 500
{
"result": "internal server error"
}