Documentation

ListVirtualCurrencyTypes

Retuns the list of all defined virtual currencies for the title

Request Details

ListVirtualCurrencyTypesRequest
Request Properties
POST https://{{TitleID}}.playfabapi.com/Admin/ListVirtualCurrencyTypes
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{}
        

Response Details

ListVirtualCurrencyTypesResult
Result Properties
VirtualCurrencies List<VirtualCurrencyData>

List of virtual currency names defined for this title

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "VirtualCurrencies": [
      {
        "CurrencyCode": "CC",
        "DisplayName": "Chump Coins",
        "InitialDeposit": 100,
        "RechargeRate": 1000,
        "RechargeMax": 1000
      },
      {
        "CurrencyCode": "GC"
      }
    ]
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code