Immediate Player Exclusion
Insert immediate player exclusion. use gateway.[msdomain]
Request (POST)
/gateway/exclusions/{version}/immediate/{brand_id}/{player_id}
Parameters:
{
"exclusion_type": "self_exclusion",
"period": "6_months",
"reason": "other",
"request_by": "player"
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | int | true | The ID of the casino. If a brand_id is not provided, all message formats will be fetched from default storage. |
| player_id | path | int | true | Player unique ID. |
| x-auth-token | header | string | true | Player login session. |
| exclusion_type | body | string | true | type of exclusion. |
| period | body | string | true | period of exclusion, relevant only for timeout and self_exclusion. |
| reason | body | string | true | reason of exclusion, relevant only for account_closure. |
Response
Status 201
"added exclusion"Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 500
{
"result": "internal server error"
}