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/red/limit/list
Request Parameters
| Parameter | Name | Type | Required | Description |
|---|---|---|---|---|
| agent_id | Merchant ID | string | Required | Merchant ID |
| game_id | Game ID | string | Required | Game ID. See Appendix |
| currency | Currency | string | Required | Currency code. See Appendix |
| timestamp | Current Timestamp | int64 | Required | Timestamp when calling the interface (in milliseconds, valid for 10 minutes) |
| sign | Signature | string | Required | See interface description for signature algorithm |
Response Parameters
| Parameter | Name | Type | Description |
|---|---|---|---|
| code | Response Code | int | Error code |
| message | Response Message | string | Error message |
| data | Response Data | dict | Response data details |
| --list | Bet Limit List | Array | Merchant custom bet limit groups (ascending by seq) |
| ----red_id | Bet Limit ID | int32 | Unique ID of the bet limit group (6-digit number) |
| ----game_id | Game ID | string | Game ID, see Appendix |
| ----currency | Currency | string | Currency code |
| ----min_limit | Min Limit | int64 | Minimum bet amount per bet (inclusive) |
| ----max_limit | Max Limit | int64 | Maximum bet amount per bet (inclusive) |
| ----seq | Sort Order | int32 | Sort value; smaller values come first |
| ----status | Status | int32 | 0 - Disabled, 1 - Enabled |
Request Example
curl --location 'https://staging.aig1234.com/api/red/limit/list?agent_id=agent001&game_id=101¤cy=CNY×tamp=1734417873301&sign=7776e923ffee88bbd5293fa8ad4a9919' \
--header 'Content-Type: application/json'
Response Example
{
"code": 200,
"message": "success",
"data": {
"list": [
{
"red_id": 100001,
"game_id": "101",
"currency": "CNY",
"min_limit": 10,
"max_limit": 5000,
"seq": 1,
"status": 1
},
{
"red_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