Pular para o conteúdo principal
POST
Add User Virtual Currency

Autorizações

X-SecretKey
string
header
obrigatório

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Corpo

application/json
Amount
number
obrigatório

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.

PlayFabId
string
obrigatório

PlayFab unique identifier of the user whose virtual currency balance is to be increased.

VirtualCurrency
string
obrigatório

Name of the virtual currency which is to be incremented.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Resposta

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Exemplo:
Última modificação em 6 de outubro de 2026