Purpose
The game sends a server-to-server POST to retrieve the player's profile and balance.
Request
POST /your-api/player-data
{
"player_id": "user123"
}
Response
{
"StatusCode": 200,
"Data": {
"UserID": "user123",
"Name": "Player Name",
"Avatar": "https://example.com/avatar.png",
"Balance": 50010014
}
}
Security note
This endpoint must handle server-to-server requests securely and should not be exposed as a public browser API.