Add Virtual Currency Types
NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for version 2. Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum value of 2,147,483,647 when granted to a player. Any value over that will be discarded.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| InvalidVirtualCurrencyCode | 1236 |
| ProductDisabledForTitle | 1609 |
| VirtualCurrencyCodeExists | 1230 |
| VirtualCurrencyCountLimitExceeded | 1229 |
Authorizations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Body
This operation is additive. Any new currencies defined in the array will be added to the set of those available for the title, while any CurrencyCode identifiers matching existing ones in the game will be overwritten with the new values.
This operation is additive. Any new currencies defined in the array will be added to the set of those available for the title, while any CurrencyCode identifiers matching existing ones in the game will be overwritten with the new values.
List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) to the title
