Skip to main content

API_003 Get Player Balance

POSThttps://prod.phl8268.com/panel/api/integration/getBalances

Endpoint for merchant to query player balances from PHL.

Envelope

Please encode the following parameters into JSON, then encode them using Base64 and put them into the data field of a generic request/response. Signature: refer to Signature Description.

Request Schema

PropertyField TypeMandatoryDescriptionSample value
usernameStringYUsername used from the platformJOHNDOE

Response Schema

PropertyField TypeMandatoryDescriptionSample value
usernameStringYUsername used from the platformJOHNDOE
balancesBalanceDtoYBalance recordsSee BalanceDto

Request Sample

{
"username": "JOHNDOE"
}

Response Sample

{
"username": "JOHNDOE",
"balances": [
{
"balanceAmount": "0.00",
"currency": "PHP"
}
]
}