Manage user Backpack

You can use the Backpack with virtual currency packages, virtual items, and game keys. Data about each item must also be added to the server of the game to which the item corresponds.

Implement adding and removing items from a user’s Backpack using the API endpoint in the table below. When creating the item, link the item with a specific game using the external_game_id parameter.

TaskAPI methodUser flow of receiving the item
Create a list of game keys and add them to the Backpack of the specified user.Create game keysThe user copies the game key from Backpack and enters it on the gaming platform or in the game.
Create a list of virtual items and add them to the Backpack of the specified user.Create virtual itemDepending on the project settings and item parameters, one of the following user flows is automatically selected:
  • If the platform parameter is passed when calling the method, the user needs to link their game platform account to Backpack and click Receive item.
  • With other settings, the user needs to enter in Backpack their ID from the game that the item corresponds to and click Receive item.
Create a list of virtual currency packages and add them to the Backpack of the specified user.Create virtual currencyDepending on the project settings and item parameters, one of the following user flows is automatically selected:
  • If the platform parameter is passed when calling the method, the user needs to link their game platform account to Backpack and click Receive item.
  • If you are using Backpack with the Metaframe virtual currency that is configured in the current project, the user only needs to click Receive item.
  • With other settings, the user needs to enter in Backpack their ID from the game that the item corresponds to and click Receive item.
Create a list of promo codes with items and add them to the Backpack of the specified user.Create promo codesThe user copies the promo code from Backpack and enters it on the gaming platform or in the game.
Delete the specified item from the Backpack of the specified user.Deletes item from Backpack-
Retrieve the list of items from Backpack of a specified user. Items can be game keys, virtual items, and virtual currency packages.Get user’s Backpack items-
Notice

Information about added promo codes and related items must also be added on the server of the game to which the item corresponds.

The interface for entering a promo code and the logic for redeeming the promo code and granting items to the user must be implemented in the game that the item corresponds to.

Note
If you use Backpack with a Metaframe virtual currency that is configured in the current project, you receive the “is_external_vc”: false in the response when calling the Create virtual currency API.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: October 18, 2024

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!