Skip to content

Account Balance

This endpoint allows you to check the current available balance of a player’s account.


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',
})
})
{
"user_id": "testuser",
"currency": "PHP",
}
{
"code": 0,
"data": [
{
"user_id": "karlphp01",
"balance": [
{
"currency": "PHP",
"amount": 100
}
]
}
]
}

📌
For a comprehensive guide on how this works, please refer to the Common and Transfer Introduction or Seamless Introduction sections within the Introduction page.