Saltar al contenido principal
POST
Subtract Character Virtual Currency

Autorizaciones

X-SecretKey
string
header
requerido

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

Cuerpo

application/json
Amount
number
requerido

Amount to be subtracted from the user balance of the specified virtual currency.

CharacterId
string
requerido

Unique PlayFab assigned ID for a specific character owned by a user

PlayFabId
string
requerido

Unique PlayFab assigned ID of the user on whom the operation will be performed.

VirtualCurrency
string
requerido

Name of the virtual currency which is to be decremented.

CustomTags
object

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

Respuesta

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
Ejemplo:
Última modificación el 6 de octubre de 2026