Xsolla-logo

Player ID validationWebhook

Xsolla sends a webhook with the user_validation type to the webhook URL to verify that a player is registered in the game. The request is sent before moving virtual items or currency to the game process.

Request
Request Body schema: application/json
notification_type
string

Type of notification.

project_id
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

game_player_id
string

Player ID in the game.

Responses
200

Return an empty body to indicate the player is found.

404

Return in case the player is not found.

500

Return to indicate temporary errors with your servers.

Request samples
application/json
{
  • "notification_type": "string",
  • "project_id": 0,
  • "game_player_id": "string"
}
Response samples
application/json
null