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

Start Game

POST
/capi/game/start-game
Launch a game session for a player. Returns a game URL with an embedded session token.
Signature fields: currency, gameCode, playerUsername
Game session: Token stored with 8-hour TTL.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Game session created
Bodyapplication/json

🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/capi/game/start-game' \
--header 'X-PUBLIC-KEY;' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data '{
    "gameCode": "MJW",
    "playerUsername": "johndoe123",
    "currency": "USD",
    "language": "en",
    "reurl": "https://partner.com/lobby"
}'
Response Response Example
200 - Success
{
    "status": "0000",
    "msg": "Success.",
    "data": {
        "url": "https://game.example.com/MJW/?token=abc123&language=en&currency=USD&reurl=https://partner.com/lobby"
    }
}
Modified at 2026-09-14 10:08:29
Previous
Create Player
Next
Kick Player
Built with