Gets a virtual currency packages by SKU for building a catalog.
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_package_sku required | string Virtual currency package SKU. Example: crystal-pack |
locale | string Default: "en" Response language. Two-letter lowercase language code per ISO 639-1. |
country | string Two-letter uppercase country code per ISO 3166-1 alpha-2. Shows regional prices and restrictions for a catalog if those were specified while creating an item. Note
If you do not specify the country explicitly, it will be set based on user's IP address. Example: country=US |
show_inactive_time_limited_items | integer Default: 0 Shows time-limited items that are not available to the user. The validity period of such items has not started or has already expired. Example: show_inactive_time_limited_items=1 |
The virtual currency package was successfully received.
{- "item_id": 488832,
- "sku": "crystal-pack",
- "type": "bundle",
- "name": "Crystal Pack",
- "bundle_type": "virtual_currency_package",
- "description": "Crystal Pack Short Description",
- "price": {
- "amount": 100,
- "amount_without_discount": 100,
- "currency": "USD"
}, - "virtual_prices": [ ],
- "can_be_bought": true,
- "promotions": [ ],
- "limits": {
- "per_user": {
- "total": 1,
- "available": 1,
- "recurrent_schedule": {
- "interval_type": "weekly",
- "reset_next_date": 1690732800
}
}, - "per_item": null
}, - "periods": [
- {
- "date_from": "2020-08-11T10:00:00+03:00",
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "attributes": [ ],
- "is_free": false,
- "groups": [ ],
- "content": [
- {
- "item_id": 488831,
- "sku": "crystals",
- "type": "virtual_currency",
- "name": "Crystals",
- "description": "Crystal - short description",
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": null
}, - "quantity": 10,
- "limits": null
}
], - "vp_rewards": [ ],
- "custom_attributes": {
- "purchased": 0,
- "attr": "value"
}
}