Xsolla-logo

User validationWebhook

Sent to the webhook URL address to verify that a user is registered in the game. The request is sent multiple times as part of the payment process:

  • when a user chooses a payment method in the payment UI
  • when a user enters data in the payment form, e.g., bank card data or the ZIP code when paying via PayPal
  • when a user clicks Pay now to proceed with payment
  • when payment process is completed and the transaction status changes to done

The request is sent when paying with any payment methods.

Request
Request Body schema: application/json
notification_type
required
string

Type of notification.

object

Custom project settings (object).

object

User details (object).

Responses
204

Return to indicate successful processing.

400

Return in case of an error in the provided information (e.g., a required parameter missing, failed authorization, etc.).

500

Return to indicate temporary errors with your servers.

Request samples
application/json
{
  • "notification_type": "string",
  • "settings": {
    },
  • "user": {
    }
}
Response samples
application/json
{
  • "error": {
    }
}