Headers
Section titled “Headers”| Header | Value | Description |
|---|---|---|
Api-Id | agent_id | AL Agent |
Api-Key | your_api_key | API KEY from us |
The Edit User Bet Limit endpoint allows you to modify the minimum and maximum betting limits for a specific user.
fetch('https://API-PLATFORM/edit-betlimit', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN' }, body: JSON.stringify({ user_id: '', currency: 'KRW', bet_n_min: 0, bet_n_max: 0 })})import axios from 'axios';
const options = { method: 'POST', url: 'https://DOWINN-API/edit-betlimit', headers: { 'Content-Type': 'application/json', 'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN' }, data: { user_id: '', currency: 'KRW', bet_n_min: 0, bet_n_max: 0 }};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}
| Header | Value | Description |
|---|---|---|
Api-Id | agent_id | AL Agent |
Api-Key | your_api_key | API KEY from us |
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | ✅ | Your player’s unique identifier |
currency | string | ✅ | Game currency (KRW, JPY, CNY, PHP, HKD, MYR, THB, EUR, TWD, VND, INR, BDT, USD, USDT, USDS) |
bet_n_min | number | ✅ | Minimum bet for Natural (Banker/Player). Min: 0, Default: 0 |
bet_n_max | number | ✅ | Maximum bet for Natural (Banker/Player). Min: 0, Default: 0 |
Successful Response
interface BetLimitResponse { code: number}Failed Response
interface BetLimitResponse { code: number message: string}Server Error
interface BetLimitResponse { code: number message: string}