Xsolla-logo

User validation in Web ShopWebhook POST

Sent from a Web Shop site to check if a user exists in the game. The Webhook was sent from the following IP address: 34.102.38.178

Note

Webhook is used only for user validation in Web Shop. Refer to the instruction for more information about configuring this webhook in Site Builder.
Request
Request Body schema: application/json
required
object

User details (object).

id
required
string

User ID.

country
string

User’s country. Two-letter uppercase country code per ISO 3166-1 alpha-2.

object

Custom project settings (object).

project_id
integer

Game’s Xsolla ID. Can be found in Publisher Account.

merchant_id
integer

Merchant ID.

Responses
200

Return information about user.

404

User not found.

Request samples
application/json
{
  • "settings": {
    },
  • "user": {
    }
}
Response samples
application/json
{
  • "user": {},
  • "attributes": [
    ]
}