Skip to content

Most visited

Recently visited


In-app Billing

In-app Billing is a Google Play service that lets you sell digital content from inside your applications. You can use the service to sell a wide range of content, including downloadable content such as media files or photos, virtual content such as game levels or potions, premium services and features, and more.

You can use In-app Billing to sell products as:

When you use the In-app Billing service to sell an item, whether it's an in-app product or a subscription, Google Play handles all checkout details so your application never has to directly process any financial transactions. Google Play uses the same checkout backend service as is used for application purchases, so your users experience a consistent and familiar purchase flow.

Any application that you publish through Google Play can implement In-app Billing. No special account or registration is required other than a Google Play Console account and a Google Wallet merchant account.

To help you integrate in-app billing into your application, the Android SDK provides a sample application that demonstrates how to sell standard in-app products and subscriptions from inside an app.

To get started, read the documents below or take the Selling In-app Products training class.

Read this document for a description of the underlying concepts in In-app Billing.
In-app Billing API
Read the documents in this section for an overview of In-app Billing, as well as implementation details and API reference.
Play Billing Library
Learn how to use the Play Billing Library to integrate the In-app Billing service with your Android apps.
Security Best Practices
Review these best practices to help ensure that your In-app Billing implementation is secure.
Testing In-app Billing
Understand how the In-app Billing test tools work and learn how to test your In-app Billing implementation.
Administering In-app Billing
Learn how to set up your product list, add pricing templates, register test accounts, and handle refunds.
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)