Xsolla-logo

Get game keysWebhook

We will be making API calls to your server to obtain game activation codes after each successful payment.

Request
Request Body schema: application/json
notification_type
string

Type of notification.

object

Custom project settings (object).

object

User details (object).

object

Game keys details (object).

Responses
200

Return the game key.

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": {
    },
  • "pin_code": {
    }
}
Response samples
application/json
{
  • "pin_code": "AAA-BBB-CCC-DDD"
}