Swap Limits
This method changes a limit for a player. Use this call when a player confirms that they want to use their new, pending limit after the required 24-hour waiting period. For more information about limits
Request (PUT)
[
"1234",
"123"
]/gateway/limits/{version}/player/delete/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. |
| array | body | array | true | array containing all the ids to swap. |
Response
Status 200
{
"loss": {
"effective_of": "now",
"time_frame": "day",
"amount": "200"
},
"bet": {
"effective_of": "now",
"time_frame": "week",
"amount": "1500"
}
}Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 401
{
"errMsg": "invalid input - invalid token"
}Status 500
{
"result": "internal server error"
}Response Parameters:
| Name | Description |
|---|---|
| effective_of | indication if limit will be effective immediately, or after some cool down. |
| time_frame | time frame for the chosen limit. |
| amount | amount for the chosen limit. |