Appearance
Player Balance Reconciliation (ระบบชนยอด)
GET
/api/players/balance-reconciliation/{playerId}PLAYER MAIN wallet: opening/closing balance from wallet_entries, movements within the time range joined to journal_entries (GAME = win/loss; other types split into transfer-in/out by sign).
Authorizations
Parameters
Path Parameters
playerId*
Typestring
RequiredQuery Parameters
currency*
Typestring
Requiredstart*
Typestring
Requiredend*
Typestring
Requiredpage
Typestring
pageSize
Typestring
timeOrder
Typestring
Enumasc, desc
Responses
Balance reconciliation report
JSON
{
"data": {
},
"status": null,
"timeStamp": "string"
}
Samples
cURL
curl -X GET https://api-game.kkapi.co/api/players/balance-reconciliation/{playerId}JavaScript
fetch("https://api-game.kkapi.co/api/players/balance-reconciliation/{playerId}")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("https://api-game.kkapi.co/api/players/balance-reconciliation/{playerId}");Python
import requests
response = requests.get("https://api-game.kkapi.co/api/players/balance-reconciliation/{playerId}")
print(response.json())