Skip to main content

Query Custom Bet Limit List

1. Query Custom Bet Limit List​

Query the bet limit groups configured by a merchant for a specific game and currency.

Interface Path​

  • GET
  • /api/bet/limit/list

Request Parameters​

ParameterNameTypeRequiredDescription
agent_idMerchant IDstringRequiredMerchant ID
game_idGame IDstringRequiredGame ID. See Appendix
currencyCurrencystringRequiredCurrency code. See Appendix
timestampCurrent Timestampint64RequiredTimestamp when calling the interface (in milliseconds, valid for 10 minutes)
signSignaturestringRequiredSee interface description for signature algorithm

Response Parameters​

ParameterNameTypeDescription
codeResponse CodeintError code
messageResponse MessagestringError message
dataResponse DatadictResponse data details
--listBet Limit ListArrayMerchant custom bet limit groups (ascending by seq)
----limit_idBet Limit IDint32Unique ID of the bet limit group (6-digit number)
----game_idGame IDstringGame ID, see Appendix
----currencyCurrencystringCurrency code
----min_limitMin Limitint64Minimum bet amount per bet (inclusive)
----max_limitMax Limitint64Maximum bet amount per bet (inclusive)
----seqSort Orderint32Sort value; smaller values come first
----statusStatusint320 - Disabled, 1 - Enabled

Request Example​

curl --location 'https://staging.aig1234.com/api/bet/limit/list?agent_id=agent001&game_id=101&currency=CNY&timestamp=1734417873301&sign=7776e923ffee88bbd5293fa8ad4a9919' \
--header 'Content-Type: application/json'

Response Example​

{
"code": 200,
"message": "success",
"data": {
"list": [
{
"limit_id": 100001,
"game_id": "101",
"currency": "CNY",
"min_limit": 10,
"max_limit": 5000,
"seq": 1,
"status": 1
},
{
"limit_id": 100002,
"game_id": "101",
"currency": "CNY",
"min_limit": 100,
"max_limit": 50000,
"seq": 2,
"status": 1
}
]
}
}

Error Codes​

200 Success
408000 Invalid request parameters
408003 IP whitelist restriction
408004 API rate limit exceeded
600100 Invalid signature
600101 Invalid parameters
700101 Merchant does not exist
700110 Merchant is disabled