Authorizing your Android app for the Google Wallet Android SDK
Stay organized with collections
Save and categorize content based on your preferences.
The Google Wallet API provides an Android SDK to make it easier for you to integrate
Google Wallet capabilities directly in your Android apps with native code.
To use the Google Wallet Android SDK, you must provide the package name of your
Android app, and the SHA-1 fingerprint of your app signing certificate. These credentials
are used to authorize publishing access for your app, and authenticate requests
sent by your app to the Google Wallet API.
1. Get the SHA-1 fingerprint of your signing certificate
To get the SHA-1 fingerprint of your signing certificate, follow the directions in the
Google Play services documentation for retrieving it using either of the following:
The SHA-1 fingerprint of your signing certificate looks similar to this:
DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09
2. Authorize your app in the Google Wallet console
Once you have your SHA-1 fingerprint, do the following to authorize your Android
app in the Google Wallet console.
- Go to the Google Pay & Wallet console.
- In the left nav, click 'Google Wallet API' to open the Google Wallet console.
- Click the 'Additional features' tab.
- In the 'App Permissions' box, click the '+ Add an app' button.
- Enter the package name of your app and your SHA-1 fingerprint.
- Click 'Add application'.
If your package name and app appear in the 'App Permissions' box, your app is authorized
to send requests to the Google Wallet API using the Google Wallet Android SDK.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-24 UTC."],[[["The Google Wallet API offers an Android SDK for native app integration of Google Wallet features."],["You need your app's package name and SHA-1 fingerprint for authorization and authentication."],["Authorize your app in the Google Wallet console by providing your app's package name and SHA-1 fingerprint."]]],["The Google Wallet Android SDK requires app authorization using the app's package name and SHA-1 fingerprint. Retrieve the fingerprint via `keytool` or Gradle. Then, in the Google Pay & Wallet console, navigate to the 'Google Wallet API' section, and under 'App Permissions,' add your app details, including the package name and the obtained SHA-1 fingerprint. This process authorizes the app to use the Google Wallet API.\n"]]