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

ID del proyecto. Encontrará este parámetro en su Cuenta del editor junto al nombre del proyecto.

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

Autenticación no superada o errónea.

404

Reward chain step not found.

422

No puedo reclamar la recompensa por paso.

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