Get profile
Webhook URL to get the player profile and balance that you ever set in the backoffice.
Request
GET https://getProfileWebhookURL?username= playerUsername ¤cy=currency
Parameter | Type | Default | Description |
---|---|---|---|
getProfileWebhookURL | String | Required | Webhook URL to get the player profile and balance that you ever set in the backoffice. |
playerUsername | String | Required | Player's username. |
currency | String | THB | Currency |
Response
Parameter | Type | Description |
---|---|---|
username | String | Player's username |
currency | String | Currency |
amount | String | Player's balance |
code | Number | Error code |
Example
Request
GET https://example-webhook/profile?username=test-player¤cy=THBResponse
{
"username": "test-player",
"currency": "THB",
"amount": 100,
"code": 0
}