CompletePurchaseValue

  • The JSON representation for digital in-app goods purchase details includes the purchase status, order ID, and a unique purchase token.

  • The purchaseStatus field indicates the current status of the purchase.

  • The orderId field provides a unique identifier for the transaction, corresponding to the Google provided order ID.

  • The purchaseToken field is an opaque token that uniquely identifies a purchase for a specific item and user.

Contains sku details for digital in-app goods.

JSON representation
{
  "purchaseStatus": enum (PurchaseStatus),
  "orderId": string,
  "purchaseToken": string
}
Fields
purchaseStatus

enum (PurchaseStatus)

Status of current purchase.

orderId

string

A unique order identifier for the transaction. This identifier corresponds to the Google provided order ID.

purchaseToken

string

A opaque token that uniquely identifies a purchase for a given item and user pair.