Xsolla-logo

Move item to gameWebhook

Xsolla sends a webhook with the move_to_game type to the webhook URL to deliver the item to player in the game.

Request
Request Body schema: application/json
notification_type
required
string

Type of notification.

required
object

Custom project settings.

merchant_id
required
integer

Merchant ID. You can find this parameter in your Publisher Account:

  • in the Company settings > Company section.
  • in the URL in the browser address bar on any Publisher Account page. The URL has the following format: https://publisher.xsolla.com/<merchant ID>/<Publisher Account section>.
project_id
required
integer

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

required
Array of objects
Array
id
required
string

The unique identifier for the item. Specified when creating item via API call.

sku
required
string

The item's Stock Keeping Unit (SKU) from the Publisher Account. The SKU may only contain lowercase Latin alphanumeric characters, periods, dashes, and underscores.

type
required
string

The item type indicates the category of claimed item.

Enum: "virtual_item" "virtual_currency"
quantity
integer <uint32>

Item quantity. Applies only to items with the virtual_currency type.

required
object

User information.

id
required
string

Player ID in the game.

Responses
200

Return an empty body to indicate the player is found.

500

Return to indicate temporary errors with your servers.

Request samples
application/json
{
  • "notification_type": "string",
  • "settings": {
    },
  • "items": [
    ],
  • "user": {
    }
}
Response samples
application/json
null