Xsolla-logo

Move user's virtual item to game

post/web/backpack/virtual_items/move_to_game

Grants the user virtual item from Backpack in the game.

Securitybearer
Request
Request Body schema: application/json
item_id
required
string

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

user_game_id
required
string

The external identifier uniquely assigned to the game. Refer to endpoints under the Game tag for additional details.

Responses
200

The user was successfully granted virtual item in the game.

400

Bad request.

404

Not found.

500

Internal server error

Request samples
application/json
{
  • "item_id": "string",
  • "user_game_id": "string"
}
Response samples
application/json
{
  • "message_id": "string",
  • "message": "string"
}