如要在 Android 應用程式中核發票證,建議使用 Google 錢包 Android SDK。SDK 提供多種便利的方法,方便您使用原生程式碼將 Google Wallet API 整合至行動應用程式。
注意:透過 Google Wallet API 核發票證不需要使用 Google Wallet REST API 或 Google Wallet Android SDK,但強烈建議使用。如要進一步瞭解如何在不使用 REST API 或 Android SDK 的情況下核發票證,請參閱在 JWT 中建立票證物件和票證類別一文。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-03-11 (世界標準時間)。"],[[["The Google Wallet API enables easy addition and access to offers within Google Wallet on users' phones, streamlining redemption and organization."],["Users can readily view and access saved offers in Google Wallet by opening the app, swiping up, and selecting the desired offer."],["Businesses can leverage the API to send timely notifications, such as offer expiration reminders, enhancing user engagement and redemption rates."],["Google provides REST API and Android SDK options for seamless integration and management of offers within various platforms like Android apps, websites, email, and SMS."],["To get started, developers need a Google Wallet API Issuer account, and either a Google Cloud account (non-Android) or Google Play services setup (Android)."]]],["The Google Wallet API enables users to save and access offers directly in Google Wallet across multiple platforms. Developers can leverage a REST API or Android SDK to issue and manage these passes. Key actions include creating a Google Wallet API Issuer and/or Google Cloud account, and setting up Google Play services for Android. Developers can create passes by combining Passes Classes with Passes Objects. Users can receive notifications about expiring offers, and tools such as codelabs, a pass builder, and the Google Wallet GitHub provide support.\n"]]