Récupère une liste de monnaies virtuelles pour la constitution d'un catalogue.
project_id required | integer ID de projet. Ce paramètre se trouve dans le Compte éditeur à côté du nom du projet. Example: 44056 |
limit | integer Nombre maximal d'éléments sur une page. Example: limit=50 |
offset | integer Numéro de l'élément à partir duquel la liste est générée (le décompte commence à 0). Example: offset=0 |
locale | string Default: "en" Langue de la réponse. Code de langue à deux lettres minuscules selon la norme 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 Code pays à deux lettres majuscules selon la norme ISO 3166-1 alpha-2. Consultez la documentation pour obtenir des informations détaillées sur les pays pris en charge par Xsolla et le processus de détermination du pays. Example: country=US |
promo_code | string [ 1 .. 128 ] characters Code unique sensible à la casse. Comprend des lettres et des chiffres. Example: promo_code=WINTER2021 |
show_inactive_time_limited_items | integer Default: 0 Affiche les objets à durée limitée qui ne sont pas disponibles pour l'utilisateur. La période de validité de ces objets n'ayant pas commencé ou ayant déjà expiré. Example: show_inactive_time_limited_items=1 |
La liste de monnaies virtuelles a été reçue avec succès.
{- "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": [ ]
}
]
}