Time limited and number limited offers
You can add a time or number limit to increase interest in an item or promotion.
There are two types of limits:
- Time — period when users can buy an item or use a promotion.
- Number of sales — limited quantity of items or promotions that user can buy.
Note
For unauthorized users, the maximum number of items they can buy is always displayed. To display the remaining number of items to the user (subject to the current limit), pass user authorization data when you request the item catalog using the methods of the Catalog subsection from the Virtual Items & Currency method group.
To correctly display the number of items that are available to the user, you need to configure authentication.
Note
Xsolla enforces limits and prevents users from purchasing more items than the set limit:
- When the payment UI is opened and an item is paid for, all unpaid orders containing that item become invalid.
- Example: A user can open the payment form for a limited item in multiple browser tabs or different browsers before completing the purchase, which creates multiple orders for the same item. Once the purchase is completed in one tab, Xsolla cancels all unpaid orders for that item.
- When a payment is refunded or order is cancelled, limits are not reset. You can reset them using the following API calls: Refresh all purchase limits for specified user and Refresh all promotion limits for specified user.
- Example: A user can purchase an item that has purchase limits, use it in the game, and then request a refund. If limits were reset automatically, the user could buy the item again, use it, and repeat this cycle, effectively bypassing the intended limits. To prevent this, the limits are not reset when a payment is refunded or an order is canceled.
Note
We recommend using a Featured item card layout to draw users’ attention to promotional items.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Useful links
Last updated: December 12, 2025Found a typo or other text error? Select the text and press Ctrl+Enter.