Xsolla-logo
  • 文档
  • 创建帐户

Claim step rewardClient-side

post/v2/project/{project_id}/user/reward_chain/{reward_chain_id}/step/{step_id}/claim

Client endpoint. Claims the current user’s step reward from a reward chain.

SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

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

Example: 44056
reward_chain_id
required
integer

Reward chain ID.

Example: 101
step_id
required
integer

奖励链步骤ID。

Example: 120
Responses
204

Successfully claimed the current user's step reward from a reward chain.

401

认证未通过或错误。

404

Reward chain step not found.

422

Can't claim the step reward.

Request samples
Response samples
application/json
{
  • "errorCode": 1501,
  • "errorMessage": "[0401-1501]: Authorization failed: Provide authorization",
  • "statusCode": 401
}