Update Limits
This method updates one or more of a player’s active/pending limits, need to use the result we get from Calculate Limits.
Request (PUT)
{
"uuid": "1234",
"loss": {
"effective_of": "now",
"time_frame": "day",
"amount": "200",
"amount_left": "150"
},
"bet": {
"effective_of": "2017-01-18 12:00",
"time_frame": "week",
"amount": "1500",
"amount_left": "1500"
},
"reality_check": "60_min"
}/gateway/limits/{version}/player/limits/{brand_id}
Parameters:
| 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. |
| x-auth-token | path | string | true | Player login session. |
| effective_of | body | string | true | indication if limit will be effective immediately, or after some cool down. |
| time_frame | body | string | true | time frame for the chosen limit. |
| amount | body | string | true | amount for the chosen limit. |
| amount_left | body | string | true | amount left for the chosen limit. |
Response
Status 202
"Updated"Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 401
{
"errMsg": "invalid input - invalid token"
}Status 500
{
"result": "internal server error"
}