Skip to main content

API_002 Player Logout

POSThttps://prod.phl8268.com/panel/api/integration/logout

Endpoint for merchant to logout from PHL, system shall remove any authentication session and forbids the client to invoke any other API further.

Envelope

Please encode the following parameters into JSON, then encode them using Base64 and put them into the data field of a generic request/response. Signature: refer to Signature Description.

Request Schema

PropertyField TypeMandatoryDescriptionSample value
usernameStringYUsername used from the platformJOHNDOE

Response Schema

PropertyField TypeMandatoryDescriptionSample value
codeStringYLogout status code. See System Code – StatusSUCCESS or FAIL
descriptionStringYLogout status description. See System Code – StatusLogout Successful or Logout Failed

Request Sample

{
"username": "JOHNDOE"
}

Response Sample

{
"code": "SUCCESS",
"description": "Logout Successful"
}