Page Summary
-
This content describes specifications for initiating in-app purchases of digital goods like in-app purchases and subscriptions, part of the deprecated Orders version 2 API.
-
The
CompletePurchaseValueSpecincludesskuId, which specifies the product being purchased, anddeveloperPayload, an opaque string for developers to associate with the purchase. -
The
SkuIdobject identifies a SKU and includes fields forskuType, a stringid, andpackageName.
Defines specification for initiating in-app purchase related to digital goods Types of possible digital goods: in-app purchases, in-app subscriptions.
| JSON representation | |
|---|---|
{
"skuId": {
object( |
|
| Fields | |
|---|---|
skuId |
The product being purchased. |
developerPayload |
An opaque string specified by developer, which would associate with the purchase and is expected to return as part of purchase data. |
SkuId
Identifier of a SKU.
| JSON representation | |
|---|---|
{
"skuType": enum( |
|
| Fields | |
|---|---|
skuType |
The type of SKU. |
id |
The identifier of the product SKU used for registration in the developer console. |
packageName |
The name of the android package under which the sku was registered. |