Xsolla-logoXsolla Developers
前往发布商帐户

获取当前用户的奖励链Client-side

get/v2/project/{project_id}/user/reward_chain

客户端端点。获取当前用户的奖励链。

注意:

所有项目对于可以在响应中获得的商品数量均都限制。默认值和最大值是每个响应50项。要逐页获取更多数据,请使用limitoffset字段。
SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

项目编号。您可以在您的发布商帐户项目名称旁边。

Example: 44056
query Parameters
limit
integer

Limit for the number of elements on the page.

Example: limit=50
offset
integer

元素编号,从该元素开始生成列表(从0开始数)。

Example: offset=0
Responses
200

成功获取用户的奖励链。

Request samples
curl -i -X GET \
  'https://store.xsolla.com/api/v2/project/{project_id}/user/reward_chain?limit=50&offset=0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response samples
application/json
{}