扣除使用者虛擬貨幣
NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for version 2. Decrements the user’s balance of the specified virtual currency by the stated amount. It is possible to make a VC balance negative with this API.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| APINotEnabledForGameClientAccess | 1082 |
| InvalidVirtualCurrency | 1051 |
| ProductDisabledForTitle | 1609 |
| VirtualCurrencyCurrentlyUnavailable | 1512 |
POST
Subtract User Virtual Currency
授權
This API requires a client session ticket, available from any Client Login function.
主體
application/json
This API must be enabled for use as an option in the game manager website. It is disabled by default.
This API must be enabled for use as an option in the game manager website. It is disabled by default.
最後修改於 2026年10月6日
