1. Base API
Hectic Play Integration
  • Getting Started
    • Introduction
    • Request and Response
    • Signature Guide — HMAC-SHA256
  • Base API
    • Game List
      POST
    • Create Player
      POST
    • Start Game
      POST
    • Kick Player
      POST
    • Update Status Player
      POST
  • Seamless Wallet API
    • Get Player Balance
      POST
    • Settle Round
      POST
    • Cancel Round
      POST
  • Report API
    • Get Bet Detail URL
      POST
  • Appendix
    • Game Supported Languages
    • Base API - Response Codes
    • Report API - Response Codes
    • Seamless Wallet Callback API — Response Codes
  • Game
  1. Base API

Update Status Player

POST
/capi/game/update-status-player
Update a player's status (active/inactive). When deactivating, all active game sessions are terminated.
Signature fields: playerUsername, status
Status values:
1 = Active
2 = Inactive

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Player status updated successfully
Bodyapplication/json

🟠400Bad Request
🟠403Forbidden
🟠404Not Found
🔴500Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location '/capi/game/update-status-player' \
--header 'X-PUBLIC-KEY;' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data '{
    "playerUsername": "johndoe123",
    "status": 1
}'
Response Response Example
200 - Success - Activate player
{
    "status": "0000",
    "msg": "Success."
}
Modified at 2026-08-21 16:34:36
Previous
Kick Player
Next
Get Player Balance
Built with