Xsolla-logoXsolla Developers
or
To Publisher Account

Claim free offer chain stepClient-side

post/v2/project/{project_id}/user/offer_chain/{offer_chain_id}/step/number/{step_number}/claim

Completes the current user’s progression through the offer chain step and grants the associated reward.

Notice

Use this call only for free steps in the offer chain. For steps that require payment in real currency, use the Create order for paid offer chain step call instead.
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
offer_chain_id
required
integer

Offer chain ID.

Example: 101
step_number
required
integer

Offer chain step number.

Example: 1
Responses
200

The free step was successfully claimed and the reward granted.

401

Authentication not passed or wrong.

404

Either the offer chain or the step was not found.

422

The step cannot be claimed. Ensure all previous steps are completed and the step is marked as free.

Request samples
Response samples
application/json
{
  • "order_id": 641
}