Skip to main content

Get profile

Webhook URL to get the player profile and balance that you ever set in the backoffice.

Request

GET https://getProfileWebhookURL?username= playerUsername &currency=currency

ParameterTypeDefaultDescription
getProfileWebhookURL*StringRequired*Webhook URL to get the player profile and balance that you ever set in the backoffice.
playerUsername*StringRequired*Player's username.
currencyStringTHBCurrency

Response

ParameterTypeDescription
usernameStringPlayer's username
currencyStringCurrency
amountStringPlayer's balance
codeNumberError code

Example

Request

GET https://example-webhook/profile?username=test-player&currency=THB

Response
{
"username": "test-player",
"currency": "THB",
"amount": 100,
"code": 0
}