Android · Schema
SubscriptionPurchaseV2
Indicates the v2 subscription purchase details, including subscription state, line items, and external account information.
Artificial IntelligenceAndroidAutomotiveGoogleMachine-LearningMobile DevelopmentSDKTVWearables
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | Resource type identifier. |
| regionCode | string | ISO 3166-1 alpha-2 billing region code. |
| latestOrderId | string | The order ID of the latest order associated with this subscription. |
| lineItems | array | Item-level info for a subscription purchase. Each line item corresponds to a base plan or offer. |
| startTime | string | Time at which the subscription was granted. |
| subscriptionState | string | The current state of the subscription. |
| linkedPurchaseToken | string | The purchase token of the old subscription if replaced. |
| pausedStateContext | object | Additional context around paused subscriptions. |
| canceledStateContext | object | Additional context around canceled subscriptions. |
| acknowledgementState | string | The acknowledgement state of the subscription. |
| externalAccountIdentifiers | object | User account identification in third-party services. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SubscriptionPurchaseV2",
"type": "object",
"description": "Indicates the v2 subscription purchase details, including subscription state, line items, and external account information.",
"properties": {
"kind": {
"type": "string",
"description": "Resource type identifier."
},
"regionCode": {
"type": "string",
"description": "ISO 3166-1 alpha-2 billing region code."
},
"latestOrderId": {
"type": "string",
"description": "The order ID of the latest order associated with this subscription."
},
"lineItems": {
"type": "array",
"description": "Item-level info for a subscription purchase. Each line item corresponds to a base plan or offer."
},
"startTime": {
"type": "string",
"description": "Time at which the subscription was granted."
},
"subscriptionState": {
"type": "string",
"description": "The current state of the subscription."
},
"linkedPurchaseToken": {
"type": "string",
"description": "The purchase token of the old subscription if replaced."
},
"pausedStateContext": {
"type": "object",
"description": "Additional context around paused subscriptions."
},
"canceledStateContext": {
"type": "object",
"description": "Additional context around canceled subscriptions."
},
"acknowledgementState": {
"type": "string",
"description": "The acknowledgement state of the subscription."
},
"externalAccountIdentifiers": {
"type": "object",
"description": "User account identification in third-party services."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-play-developer-subscription-purchase-v2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.