Xsolla-logo

Get virtual currency list

get/v2/project/{project_id}/items/virtual_currency

Gets a virtual currency list for building a catalog.

Attention. All projects have the limitation to the number of items that you can get in the response. The default and maximum value is 50 items per response. To get more data page by page, use limit and offset fields.
SecurityAuthForClient
Request
path Parameters
project_id
required
integer

Project ID.

Example: 44056
query Parameters
limit
integer

Limit for the number of elements on the page.

Example: limit=50
offset
integer

Number of the element from which the list is generated (the count starts from 0).

Example: offset=0
locale
string
Default: "en"

Response language. Two-letter lowercase language code per 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. Available fields media_list, order, long_description.

country
string
Default: "US"

Country to calculate regional prices and restrictions for catalog. Two-letter uppercase country code per ISO 3166-1 alpha-2. If you do not specify the country explicitly, it will be calculated based on user's IP address.

Responses
200

The list of virtual currency was successfully received.

Request samples
Response samples
application/json
{
  • "items": [
    ]
}