Xsolla-logo

Get virtual currency

get/v2/project/{project_id}/admin/items/virtual_currency/sku/{virtual_currency_sku}

Gets the virtual currency within a project for administration.

Note

Do not use this endpoint for building a store catalog.
Request
path Parameters
project_id
required
integer

Project ID.

Example: 44056
virtual_currency_sku
required
string

Virtual currency SKU.

Example: crystal
Responses
200

The specified virtual currency was successfully received.

401

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

404

The item was not found. Make sure the project_id and the item_sku are correct.

Request samples
Response samples
application/json
{
  • "sku": "crystal",
  • "name": {
    },
  • "type": "virtual_currency",
  • "description": {
    },
  • "long_description": null,
  • "attributes": [
    ],
  • "is_free": false,
  • "order": 1,
  • "groups": [ ],
  • "regional_prices": [ ],
  • "prices": [
    ],
  • "media_list": [ ],
  • "vc_prices": [ ],
  • "is_enabled": true,
  • "is_show_in_store": true,
  • "regions": [ ],
  • "inventory_options": {
    },
  • "is_hard": false
}