Build With RevenueCat

Build a customized mobile subscription business with RevenueCat. We do the heavy lifting of normalizing subscribers from any source and maintain a single source of truth for subscription status, so you can get back to building your app.

RevenueCat is a powerful, secure, reliable, and free to use in-app purchase server with global support. All you need to get started is an API key.

Get Started    REST API Endpoints

Play Store

Step-by-step guide for creating your Play service credentials

In order for RevenueCat's servers to communicate with Google on your behalf you need to provide a set of service credentials. The process for configuring these credentials is a bit complex, but the added level of control improves security by only providing RevenueCat with the access we need.


1. Link to a Google Developer Project

Your Play Developer account needs to be linked to a Google Developer Project.

1a. Open the Settings > Developer account menus and select API access

1b. Select Link to connect your Play account to a Google Developer Project

1c. Agree to the terms and conditions

2. Create Service Account

Next we need to create a service account. This is done from the Google API Console.

2a. Select Create Service Account

2b. Follow the link to the Google API Console

2c. Create Service account key credentials

2d. Name it and assign it Pub/Sub Admin Role

When you hit create, a JSON file will be downloaded. These are the credentials that RevenueCat will need to communicate with Google.

Add two Roles:

You can skip the optional third step, "Grant users access to this service account" by clicking Done.

2e. Create the public key

In the Google Cloud Console, click on Actions > Manage keys.

Click ADD KEY > Create new key.

Make sure JSON is selected and click Create to create and download the JSON key.

The downloaded JSON key is what you will need to enter in RevenueCat in step 4.

3. Grant Financial Access to RevenueCat

3a. Back in the Play Console, select Grant Access on the newly created RevenueCat service account

You are all done with the Google Cloud Console. Switch back to the Google Play Console and click Grant access for the newly created service account. If you do not see the service account you created, try refreshing the page.

This is in the Google Play Console.

3b. Grant the following permissions:

  • View app information and download bulk reports (read-only)
  • View financial data, orders, and cancellation survey responses
  • Manage orders and subscriptions

3c.Click Invite User at the bottom and send the invite

You will be redirected to Users and Permissions where you should see your newly created service account as Active.

3d. Apply permissions to your apps

In the Users and Permissions section, click on the service account and add your apps to the account. Click Apply on the sheet that appears.


Don't forget to Save Changes after applying the permissions

4. Enter the credentials JSON in RevenueCat

Copy and paste the credentials JSON that were downloaded in step 2 to your RevenueCat account and we'll be ready to handle Google Play purchases!



It can take up to 36 hours for your Play Service Credentials to work properly with the Android Developer API. You may see "Invalid Play Store credentials" errors and be unable to make purchases with RevenueCat until this happens.

Updated about a month ago

Play Store

Step-by-step guide for creating your Play service credentials

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.