Xsolla-logo

Claim step reward

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

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

Example: 44056
reward_chain_id
required
integer

Reward chain ID.

Example: 101
step_id
required
integer

Reward chain step ID.

Example: 120
Responses
204

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

401

Authentication not passed or wrong.

404

Reward chain step not found.

422

Can't claim the step reward.

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