Skip to content

Logout Event

This event will be trigger when the player logout.

Method: POST

Header

{
"Content-Type": "application/json",
"Api-Id": "Your API-ID",
"Api-Key": "Your API-Key"
}

Body

{
"transaction_id": "1_sandboxagent01_1763107507965_4519",
"event_type": "logout",
"timestamp": 1763107508,
"feedback_data": "TEST_FEEDBACK_DATA",
"user_id": "edwincalma"
}

HTTP Status: 200 Header

{
"Content-Type": "application/json",
"Api-Id": "Your API-ID",
"Api-Key": "Your API-Key"
}

Body

{
"code": "R0", // Required, String
"event_type": "logout", // Required, String
"timestamp": 1763107508, // Required, Number
"user_id": "edwincalma", // Required, String
"latest_balance": 1111000 // REQUIRED, Number
}

  • Success Processing = "R0"
  • Failed Processing = "R1"
  • Unauthorized Request = "R2"
  • Validation Failed = "R3"
  • Not Enough Balance = "R4"

HTTP Status: 200

Header

{
"Content-Type": "application/json",
"Api-Id": "Your API-ID",
"Api-Key": "Your API-Key"
}

Body

{
"code": "R1", // Required, String
"event_type": "logout", // Required, String
"timestamp": 1763107508, // Required, Number
"user_id": "edwincalma", // Required, String
"latest_balance": 1111000 // OPTIONAL, Number
}

📌
For a comprehensive guide on how this works, please refer to the Common and Transfer Introduction or Seamless Introduction sections within the Introduction page.