Xsolla-logoXsolla Developers
or
To Publisher Account

Get virtual currency packageServer-sideAdmin

get/v2/project/{project_id}/admin/items/virtual_currency/package/sku/{item_sku}

Gets the virtual currency package within a project for administration.

Note

Do not use this endpoint for building a store catalog.
SecuritybasicAuth
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
item_sku
required
string

Item SKU.

Example: booster_mega_1
Responses
200

The specified virtual currency package was successfully received.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

Request samples
curl -i -X GET \
  -u <merchant_id_or_project_id>:<api_key> \
  'https://store.xsolla.com/api/v2/project/{project_id}/admin/items/virtual_currency/package/sku/{item_sku}'
Response samples
application/json
{
  • "sku": "com.xsolla.crystal_pack_1",
  • "name": {
    },
  • "type": "bundle",
  • "description": {
    },
  • "long_description": null,
  • "attributes": [
    ],
  • "is_free": false,
  • "order": 1,
  • "groups": [ ],
  • "prices": [
    ],
  • "media_list": [ ],
  • "vc_prices": [ ],
  • "is_enabled": true,
  • "is_show_in_store": true,
  • "regions": [ ],
  • "bundle_type": "virtual_currency_package",
  • "content": [],
  • "limits": {
    },
  • "periods": [ ],
  • "custom_attributes": {
    }
}