Pular para o conteúdo principal
POST
Validate Windows Store Receipt

Autorizações

X-Authorization
string
header
obrigatório

This API requires a client session ticket, available from any Client Login function.

Corpo

application/json
CurrencyCode
string
obrigatório

Currency used to pay for the purchase (ISO 4217 currency code).

PurchasePrice
number
obrigatório

Amount of the stated currency paid, in centesimal units.

Receipt
string
obrigatório

XML Receipt returned by the Windows App Store in-app purchase API

CatalogVersion
string

Catalog version of the fulfilled items. If null, defaults to the primary catalog.

CustomTags
object

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

Resposta

Once verified, the catalog item matching the Product name will be added to the user's inventory. This result should be used for immediate updates to the local client game state as opposed to the GetUserInventory API which can have an up to half second delay.

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

Once verified, the catalog item matching the Product name will be added to the user's inventory. This result should be used for immediate updates to the local client game state as opposed to the GetUserInventory API which can have an up to half second delay.

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