API Docs
POST/v1/games/info

Get Game Info

Sync and retrieve user information for the player.

Headers

  • Content-Typeapplication/json

Request body

{
  "merchantCode": "mamaktest",
  "playerId": "327161324"
}
HTTP 200application/json
{
  "success": true,
  "status": "SUCCESS",
  "message": "User data synced successfully",
  "data": {
    "userId": "327161324",
    "username": "32716132A",
    "name": "RYAN TEST",
    "tokenCount": 17900,
    "gameBoxCount": 0,
    "transactionSync": {
      "synced": true,
      "tokensEarned": 7960,
      "newTransactions": 20
    }
  }
}
HTTP 500HTTP 500
{
  "status": "ERROR",
  "success": false,
  "message": "Error message details",
  "data": null
}

cURL example

curl -X POST \
  "{API_BASE_URL}/v1/games/info" \ 
  -H "Content-Type: application/json" \
  -d '{
  "merchantCode": "mamaktest",
  "playerId": "327161324"
}'
← Back to API list