Android アプリを Google ウォレット Android SDK 用に承認する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Google Wallet API には Android SDK が用意されており、これを使用すると
ネイティブ コードを使用して、Android アプリで直接 Google ウォレットの機能を利用できます。
Google ウォレット Android SDK を使用するには、アプリのパッケージ名を指定する必要があります。
Android アプリ、アプリ署名証明書の SHA-1 フィンガープリントが含まれています。これらの認証情報は
アプリの公開アクセスを承認し、リクエストを認証するために使用します。
Google Wallet API に送信されます。
1. 署名証明書の SHA-1 フィンガープリントを取得する
署名証明書の SHA-1 フィンガープリントを取得するには、
次のいずれかを使用して取得する方法については、Google Play 開発者サービスのドキュメントを参照してください。
署名証明書の SHA-1 フィンガープリントは次のようになります。
DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09
2. Google ウォレット コンソールでアプリを承認する
SHA-1 フィンガープリントを取得したら、次の手順で Android を認証します。
アプリ。
- Google Pay &ウォレット コンソール。
- 左側のナビゲーションで [Google Wallet API] をクリックします。Google ウォレット コンソールを開きます。
- [その他の機能] をクリックしますタブ
- [アプリの権限] で[+ 追加] をクリックして] ボタンを離します。
- アプリのパッケージ名と SHA-1 フィンガープリントを入力します。
- [アプリケーションを追加] をクリックします。
[アプリの権限] にパッケージ名とアプリが表示されている場合アプリが承認されると、
Google Wallet Android SDK を使用して Google Wallet API にリクエストを送信できます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[null,null,["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThe Google Wallet API offers an Android SDK for native app integration of Google Wallet features.\u003c/p\u003e\n"],["\u003cp\u003eYou need your app's package name and SHA-1 fingerprint for authorization and authentication.\u003c/p\u003e\n"],["\u003cp\u003eAuthorize your app in the Google Wallet console by providing your app's package name and SHA-1 fingerprint.\u003c/p\u003e\n"]]],["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"],null,["# Authorizing your Android app for the Google Wallet Android SDK\n\nThe Google Wallet API provides an Android SDK to make it easier for you to integrate\nGoogle Wallet capabilities directly in your Android apps with native code.\n\nTo use the Google Wallet Android SDK, you must provide the package name of your\nAndroid app, and the SHA-1 fingerprint of your app signing certificate. These credentials\nare used to authorize publishing access for your app, and authenticate requests\nsent by your app to the Google Wallet API.\n\n1. Get the SHA-1 fingerprint of your signing certificate\n--------------------------------------------------------\n\nTo get the SHA-1 fingerprint of your signing certificate, follow the directions in the\nGoogle Play services documentation for retrieving it using either of the following:\n\n- [keytool](/android/guides/client-auth#using_keytool_on_the_certificate)\n- [Gradle](/android/guides/client-auth#using_gradles_signing_report)\n\nThe SHA-1 fingerprint of your signing certificate looks similar to this: \n\n DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n\n2. Authorize your app in the Google Wallet console\n--------------------------------------------------\n\nOnce you have your SHA-1 fingerprint, do the following to authorize your Android\napp in the Google Wallet console.\n\n1. Go to the [Google Pay \\& Wallet console](https://pay.google.com/business/console/).\n2. In the left nav, click 'Google Wallet API' to open the Google Wallet console.\n3. Click the 'Additional features' tab.\n4. In the 'App Permissions' box, click the '+ Add an app' button.\n5. Enter the package name of your app and your SHA-1 fingerprint.\n6. Click 'Add application'.\n\nIf your package name and app appear in the 'App Permissions' box, your app is authorized\nto send requests to the Google Wallet API using the Google Wallet Android SDK."]]