Skip to main content

API_001 Player Login

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

Endpoint for merchant to login to PHL, system shall create a player account with currency wallet that merchant provide and return an URL for merchant to perform redirection.

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
currencyStringYCurrency code used. See System Code – CurrencyPHP
usernameStringYUsername used from the platformJOHNDOE

Response Schema

PropertyField TypeMandatoryDescriptionSample value
redirectUrlStringYRedirect URL for merchant to navigate to PHLhttps://phl8268.com

Request Sample

{
"currency": "PHP",
"username": "JOHNDOE"
}

Response Sample

{
"redirectUrl": "https://phl8268.com/token=eyJ0eXAiOiJKV1QiLCJhbGciOiJI"
}