gplay-iap-setup
Installation
SKILL.md
In-App Purchase Setup for Google Play
Use this skill when you need to set up monetization for your Android app.
Two APIs: Legacy vs New Monetization
Google Play has two APIs for one-time products:
Legacy (gplay iap) |
New Monetization (gplay onetimeproducts) |
|
|---|---|---|
| API | inappproducts |
monetization.onetimeproducts |
| Price format | priceMicros/currency |
units/nanos/currencyCode |
| Structure | Flat prices map |
purchaseOptions with regionalPricingAndAvailabilityConfigs |
| States | active/inactive |
DRAFT → ACTIVE (requires explicit activation) |
| Regional pricing | --auto-convert-prices flag |
--regions-version required |
Prefer the new monetization API (gplay onetimeproducts) for new products. It supports purchase options, better regional pricing control, and is the actively developed API.
Use the legacy API (gplay iap) only for managing existing legacy products.