Account Balance
This endpoint allows you to check the current available balance of a player’s account.
API Integration Examples
Section titled “API Integration Examples”fetch('https://API-PLATFORM/account-balance', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN' }, body: JSON.stringify({ user_id: 'testuser', currency: 'PHP', })})import axios from 'axios';
const options = {method: 'POST',url: 'https://API-PLATFORM/account-balance',headers: { 'Content-Type': 'application/json', 'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN'},data: {user_ids: [''], user_id: '', currency: 'KRW'}};
try {const { data } = await axios.request(options);console.log(data);} catch (error) {console.error(error);}Sample Request
Section titled “Sample Request”{ "user_id": "testuser", "currency": "PHP",}Sample Response
Section titled “Sample Response”{ "code": 0, "data": [ { "user_id": "karlphp01", "balance": [ { "currency": "PHP", "amount": 100 } ] } ]}