Android Purchases API

Manage in-app product and subscription purchases, including verification, acknowledgment, and consumption of purchase tokens.

Business capability
Entitlement Enforcement BC-4240.70

Operations 10

GET /applications/{packageName}/purchases/products/{productId}/tokens/{token} Get In-app Product Purchase Status #
POST /applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge Acknowledge an In-app Product Purchase #
POST /applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume Consume an In-app Product Purchase #
GET /applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token} Get Subscription Purchase Status #
POST /applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge Acknowledge a Subscription Purchase #
POST /applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel Cancel a Subscription Purchase #
POST /applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer Defer a Subscription Purchase #
POST /applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke Revoke a Subscription Purchase #
GET /applications/{packageName}/purchases/subscriptionsv2/tokens/{token} Get Subscription Purchase V2 #
GET /applications/{packageName}/purchases/voidedpurchases List Voided Purchases #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/android-purchases-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

android-purchases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play Developer Purchases API
  description: The Google Play Developer API allows you to perform a number of publishing and app-management tasks. It includes the Subscriptions and In-App Purchases API, which lets you manage in-app purchases and subscriptions, and the Reviews API for retrieving and replying to user reviews. This specification covers the purchases, reviews, and subscriptions resources of the Google Play Developer API v3.
  version: '3.0'
  termsOfService: https://developers.google.com/terms
  contact:
    name: Google Play Developer Support
    url: https://support.google.com/googleplay/android-developer
  license:
    name: Creative Commons Attribution 4.0
    url: https://creativecommons.org/licenses/by/4.0/
  x-logo:
    url: https://www.gstatic.com/android/market_images/web/favicon_v2.ico
    altText: Google Play
servers:
- url: https://androidpublisher.googleapis.com/androidpublisher/v3
  description: Google Play Developer API v3 production endpoint
security:
- oauth2:
  - androidpublisher
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/android/refs/heads/main/openapi/android-purchases-api-openapi.yml