获取用于构建目录的虚拟货币套餐列表。
limit | integer 页面上元素数量的限制。 Example: limit=50 |
offset | integer 元素编号,从该元素开始生成列表(从0开始数)。 Example: offset=0 |
locale | string Default: "en" 响应语言。符合ISO 639-1标准的两个小写字母的语言代码。 |
additional_fields[] | Array of strings 附加字段列表。如果在请求中发送这些字段,则它们将包含在响应中。可用字段 |
country | string Default: "US" 对于该目录要计算区域价格和限制的国家/地区。符合ISO 3166-1 alpha-2的两个大写字母的国家/地区代码。如果未明确指定国家/地区,则将根据用户的IP地址进行计算。 |
已成功收到虚拟货币套餐列表。
{- "items": [
- {
- "attributes": [ ],
- "bundle_type": "virtual_currency_package",
- "content": [
- {
- "description": "Big Rocket - short description",
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}
}, - "name": "Big Rocket",
- "quantity": 100,
- "sku": "big_rocket",
- "type": "virtual_currency"
}
], - "description": "VC Short Package Description",
- "groups": [ ],
- "is_free": false,
- "name": "VC Name first package",
- "price": {
- "amount": "2.0000",
- "amount_without_discount": "2.0000",
- "currency": "USD"
}, - "sku": "vc_package_1",
- "type": "bundle",
- "virtual_prices": [ ]
}, - {
- "attributes": [ ],
- "bundle_type": "virtual_currency_package",
- "content": [
- {
- "description": "description",
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}
}, - "name": "SHOTGUN FOR TRUE RAIDERS",
- "quantity": 200,
- "sku": "shotgun_raider",
- "type": "virtual_currency"
}
], - "description": "VC Short Package Description",
- "groups": [ ],
- "is_free": false,
- "name": "VC Name third package",
- "price": {
- "amount": "4.0000",
- "amount_without_discount": "4.0000",
- "currency": "USD"
}, - "sku": "vc_package_3",
- "type": "bundle",
- "virtual_prices": [ ]
}
]
}