Headers
Section titled “Headers”| Header | Value | Description |
|---|---|---|
Api-Id | agent_id | AL Agent |
Api-Key | your_api_key | API KEY from us |
The Agent Information endpoint provides a comprehensive overview of your integration settings. It allows you to retrieve and verify details.
fetch('https://API-PROVIDER/api/v1/agent-info', {headers: {'Api-Id': 'YOUR_SECRET_TOKEN','Api-Key': 'YOUR_SECRET_TOKEN'}})import axios from 'axios';
const options = {method: 'GET',url: 'https://API-PROVIDER/api/v1/agent-info',headers: {'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN'}};
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 | Description |
|---|---|---|
agent_id | string | Your unique agent identifier |
agent_type | string | Transfer or Seamless |
currency | string | Game currency (KRW, JPY, CNY, PHP, HKD, MYR, THB, EUR, TWD, VND, INR, BDT) |
callback_url | string | Registered webhook URL |
balance | number | Initial balance |
bp_min | number | Minimum bet for Natural (Banker/Player) |
bp_max | number | Maximum bet for Natural (Banker/Player) |
Successful Response
interface AgentInfoResponse { agent_id: string agent_type: string currency: string callback_url: string balance: number bp_min: number bp_max: number}Failed Response
interface AgentInfoResponse { code: number message: string}Server Error
interface AgentInfoResponse { code: number message: string}