Pular para o conteúdo principal
POST
Validate Amazon IAP 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
PurchasePrice
number
obrigatório

Amount of the stated currency paid, in centesimal units.

ReceiptId
string
obrigatório

ReceiptId returned by the Amazon App Store in-app purchase API

UserId
string
obrigatório

AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API

CatalogVersion
string

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

CurrencyCode
string

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

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 Amazon item 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 Amazon item 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