API 1 · Your platform
Player profile & balance
Return the logged-in player profile and wallet balance when Wave Games validates the Bearer token you pass in the game URL.
GET https://your-api.com/wave/game/userInfo
Authorization: Bearer {player_session_token}
Response:
{
"success": true,
"message": "User info fetched successfully",
"data": {
"id": "player_123",
"name": "Player",
"balance": 50000,
"profilePicture": "https://..."
}
}
