Gets the virtual currency within a project for administration.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
virtual_currency_sku required | string Virtual currency SKU. Example: crystal |
The specified virtual currency was successfully received.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
The item was not found. Make sure the project_id
and the item_sku
are correct.
{- "sku": "crystal",
- "name": {
- "en": "Crystals",
- "ru": "Crystals"
}, - "type": "virtual_currency",
- "description": {
- "en": "Main in-game currency"
}, - "long_description": null,
- "attributes": [
- {
- "external_id": "attr_1",
- "name": {
- "en-US": "OK"
}, - "values": [
- {
- "external_id": "val1",
- "value": {
- "en-US": "VALUE"
}
}, - {
- "external_id": "val2",
- "value": {
- "en-US": "VALUE2"
}
}
]
}
], - "is_free": false,
- "order": 1,
- "groups": [ ],
- "prices": [
- {
- "amount": 1,
- "currency": "USD",
- "is_default": true,
- "is_enabled": true,
- "country_iso": "US"
}
], - "media_list": [ ],
- "vc_prices": [ ],
- "is_enabled": true,
- "is_show_in_store": true,
- "regions": [ ],
- "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "is_hard": false,
- "limits": {
- "per_user": null,
- "per_item": null,
- "recurrent_schedule": null
}, - "periods": [ ],
- "custom_attributes": {
- "purchased": 0,
- "attr": "value"
}
}