Xsolla-logo

Get user's Backpack items

get/web/backpack/merchants/{merchantId}/projects/{projectId}/users/{userId}/items

Returns the list of items from Backpack of a specified user. Items can be game keys, virtual items, and virtual currency.

Securitybearer
Request
path Parameters
merchantId
required
integer <uint32>

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

  • in the Project settings > Webhooks section.
  • 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>.
projectId
required
integer <uint32>

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

userId
required
string <uuid>

User ID.

query Parameters
offset
integer <uint32>

Number of the element from which the list is generated (the count starts from 0).

limit
integer <uint32>

Limit for the number of elements on the page. If not specified, all items are returned (default).

header Parameters
X-HOST-ID
required
string <uuid>

A unique header issued by Xsolla. To obtain it, please contact the integration team at integration@xsolla.com or your Customer Success Manager at csm@xsolla.com. Provide them with the project ID and merchant ID. Keep X-HOST-ID confidential, as it is part of the authentication key.

Responses
200

The list of items from users's Backpack was succesfully recieved.

400

Bad request.

500

Internal server error.

default

Error

Request samples
Response samples
application/json
[
  • {
    }
]