Ruft eine Liste virtueller Währungen ab, um einen Katalog zu erstellen.
project_id required | integer Projekt-ID. Dieser Parameter wird im Kundenportal neben dem Projektnamen angezeigt. Example: 44056 |
limit | integer Limit for the number of elements on the page. Example: limit=50 |
offset | integer Elementnummer, aus der die Liste generiert wird (die Zählung beginnt bei 0). Example: offset=0 |
locale | string Default: "en" Antwortsprache. Sprachcode bestehend aus zwei Kleinbuchstaben gemäß ISO 639-1. |
additional_fields[] | Array of strings The list of additional fields. These fields will be in the response if you send them in your request. |
country | string Zweistelliger Ländercode in Großbuchstaben laut ISO 3166-1 Alpha-2. Finden Sie weitere Informationen zu den von Xsolla unterstützten Ländern und dem Prozess der Bestimmung des Landes. Example: country=US |
promo_code | string [ 1 .. 128 ] characters Eindeutiger Code, es wird zwischen Groß- und Kleinschreibung unterschieden. Enthält Buchstaben und Ziffern. Example: promo_code=WINTER2021 |
show_inactive_time_limited_items | integer Default: 0 Zeigt zeitlich begrenzte Artikel an, die nicht erhältlich sind. Der Gültigkeitszeitraum dieser Artikel hat noch nicht begonnen oder ist bereits vorüber. Example: show_inactive_time_limited_items=1 |
Die Liste der virtuellen Währung wurde erfolgreich empfangen.
{- "has_more": false,
- "items": [
- {
- "attributes": [
- {
- "external_id": "stack_size",
- "name": "Stack size",
- "values": [
- {
- "external_id": "size_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "5"
}
]
}
], - "can_be_bought": true,
- "custom_attributes": {
- "attr": "value",
- "purchased": 0
}, - "description": "Big Rocket - short description",
- "groups": [
- {
- "external_id": "weapons",
- "name": {
- "en": "weapons"
}
}
], - "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": null
}, - "is_free": false,
- "limits": null,
- "name": "Big Rocket",
- "periods": [
- {
- "date_from": "2020-08-11T10:00:00+03:00",
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "price": {
- "amount": "100.99",
- "amount_without_discount": "100.99",
- "currency": "USD"
}, - "promotions": [ ],
- "sku": "big_rocket",
- "type": "virtual_currency",
- "virtual_prices": [
- {
- "amount": 100,
- "amount_without_discount": 100,
- "description": "description",
- "is_default": true,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "sku": "shotgun_raider",
- "type": "virtual_currency"
}
], - "vp_rewards": [ ]
}, - {
- "attributes": [
- {
- "external_id": "stack_size",
- "name": "Stack size",
- "values": [
- {
- "external_id": "size_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "5"
}
]
}, - {
- "external_id": "rating",
- "name": "Rating",
- "values": [
- {
- "external_id": "rating_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "3.9"
}
]
}
], - "can_be_bought": true,
- "description": "description",
- "groups": [
- {
- "external_id": "weapons",
- "name": {
- "en": "weapons"
}
}
], - "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": null
}, - "is_free": false,
- "limits": null,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "periods": [
- {
- "date_from": null,
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "price": {
- "amount": "101.0",
- "amount_without_discount": "101.0",
- "currency": "USD"
}, - "promotions": [ ],
- "sku": "shotgun_raider",
- "type": "virtual_currency",
- "virtual_prices": [ ],
- "vp_rewards": [ ]
}, - {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "description",
- "groups": [ ],
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": null
}, - "is_free": true,
- "limits": null,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "periods": [ ],
- "price": null,
- "promotions": [ ],
- "sku": "shotgun_raider_2",
- "type": "virtual_currency",
- "virtual_prices": [ ],
- "vp_rewards": [ ]
}
]
}