# CompletePurchaseValueSpec

- [JSON representation](https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SCHEMA_REPRESENTATION)
- [SkuId](https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId)
  - [JSON representation](https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId.SCHEMA_REPRESENTATION)

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 (`https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId`) }, "developerPayload": string } ``` |

| Fields ||
|---|---|
| `skuId` | ``object (`https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId`)`` The product being purchased. |
| `developerPayload` | `string` 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 (`SkuType`), "id": string, "packageName": string } ``` |

| Fields ||
|---|---|
| `skuType` | ``enum (`SkuType`)`` The type of SKU. |
| `id` | `string` The identifier of the product SKU used for registration in the developer console. |
| `packageName` | `string` The name of the android package under which the sku was registered. |