Xsolla sends a webhook from a Web Shop site to check if a user exists in the game. The webhook is sent from the following IP address: 34.102.38.178
.
required | object User details (object). | ||||
| |||||
object Custom project settings (object). | |||||
|
Return information about user.
User not found.
curl -v 'https://your.hostname/your/uri' \ -X POST \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "settings": { "project_id": 18404, "merchant_id": 2340 }, "user": { "id": "1234567", "country": "US" } }'
{- "attributes": [
- {
- "key": "level",
- "value": "2"
}, - {
- "key": "register_country",
- "value": "AE"
}
], - "removingKeys": [
- "company"
]
}