Xsolla-logoXsolla Developers
or
To Publisher Account

Claim daily reward stepClient-side

post/v2/project/{project_id}/user/daily_chain/{daily_chain_id}/step/number/{step_number}/claim

Client endpoint. Claims the current user's step reward from a daily reward. All steps can only be claimed in sequential order. The reward for a missed step cannot be obtained for virtual or real currency, or by watching an ad

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
daily_chain_id
required
integer

Daily reward ID.

Example: 101
step_number
required
integer

Daily reward step number.

Example: 1
Responses
204

Successfully claimed the current user's step reward for a daily reward step.

401

Authentication not passed or wrong.

404

Daily reward or daily reward step was not found.

422

Step can't be claimed.

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