Add User Virtual Currency
NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for version 2. Increments the user’s balance of the specified virtual currency by the stated amount
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| InvalidVirtualCurrency | 1051 |
| ProductDisabledForTitle | 1609 |
| VirtualCurrencyCurrentlyUnavailable | 1512 |
Authorizations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Body
Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded.
PlayFab unique identifier of the user whose virtual currency balance is to be increased.
Name of the virtual currency which is to be incremented.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
