Google's billing library for Android apps — handles the purchase UI, returns a purchase token, and your server verifies it for truth.
Google Play Billing is the Android SDK that apps integrate to sell digital products and subscriptions through Google Play. It provides the client-side purchase flow — showing the price, handling payment, and returning a purchase token on success. The library itself does not verify purchases; that is the job of your server (calling the Google Play Developer API).
Google Play Billing Library version 7+ is the current generation, with improved subscription management APIs and a streamlined purchase flow. The library handles one-time products, subscriptions (with free trials, intro pricing, and upgrade/downgrade), and consumable in-app items. All purchases follow the same pattern: client library → purchase token → server verification → entitlement.
Google Play Billing produces the purchase token that your server must verify.
After the initial purchase, RTDN keeps your server updated on subscription lifecycle changes.
The Apple equivalent — StoreKit 2 handles the iOS in-app purchase flow.
Free tier — unlimited apps, 1 paywall. No credit card, no revenue share.
Start free