Skip to main content
PUT
/
api
/
v1
/
dt
/
user
/
limit
Update Player Bet Limits
curl --request PUT \
  --url https://api.example.com/api/v1/dt/user/limit \
  --header 'Content-Type: application/json' \
  --data '
{
  "uuid": "<string>",
  "platform_id": "<string>",
  "username": "<string>",
  "limit_id": "<string>",
  "type": "<string>",
  "key": "<string>"
}
'
{
  "error": {
    "code": 0,
    "msg": "Success",
    "uuid": "3f1e16c7-4083-4897-b40b-55b7f674f72f"
  }
}
CodeDescription
0Success
2Invalid parameter
4Customer does not exist
19Request limit reached
20Secret key error
25Type parameter error
36Server error
41Channel error
42Request rate too high
9999Unknown error

Body

application/json
uuid
string
required

Platform-defined unique request ID, length >= 32 and <= 128 bytes

platform_id
string
required

Platform product ID

username
string
required

User account in game (max 23 characters, lowercase letters and numbers only, multiple accounts separated by comma, max 100 per request)

limit_id
string
required

Bet limit ID (string like '1,2,Y', multiple IDs separated by comma)

type
string
required

Set limit type (0: Add, 1: Delete, 2: Replace)

key
string
required

md5(username + limit_id + type + platform secret key)

Response

Success

error
object