建立第一張票證
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
準備好建立第一筆 Google 錢包票證了嗎?請參考這些實用資源,瞭解如何建構及核發第一張票證。
問題票證
準備好核發第一張票證了嗎?請參閱我們的教學課程,逐步瞭解透過 Google Wallet REST API 和 Google Wallet Android SDK 核發票證的程序。
Android 問題票證
網頁、電子郵件、簡訊的問題票證
程式碼研究室
自助程式碼研究室會逐步引導您完成新增票證至 Google 錢包的必要步驟。首先,如果您的實作項目僅適用於 Android 裝置,請選擇「Android」;如果您的實作項目支援 Android、網頁、電子郵件或簡訊,請選擇「網路」。
Android
網頁
票證建構工具
「票證建構工具」是一項互動式工具,可讓您自訂及預覽基本票證。您只需要填寫表單欄位,票證建構工具就會輸出票證類別和票證物件定義,方便您建立實際票證。
Pass Builder 不支援所有可自訂的票證欄位,但這很適合協助您開始使用,並熟悉一些最常見的票證自訂項目。如需完整的票證欄位清單,請參閱參考說明文件。
試用票證建構工具
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[[["\u003cp\u003eLearn how to issue passes using the Google Wallet REST API and Google Wallet Android SDK through detailed tutorials.\u003c/p\u003e\n"],["\u003cp\u003eExplore self-guided codelabs to add passes to Google Wallet, tailored for Android-only or multi-platform (Android, Web, Email, SMS) implementations.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the Pass Builder tool to customize and preview basic passes, generating necessary code definitions for pass creation.\u003c/p\u003e\n"]]],["To begin, utilize tutorials for issuing passes via the Google Wallet REST API or Android SDK, available for Android, web, email, and SMS. Codelabs offer step-by-step guidance for adding passes, with distinct options for Android-only or broader implementations. The Pass Builder, an interactive tool, allows customization and previewing of a basic pass, generating Passes Class and Object definitions for practical application. While limited in customization, it's ideal for beginners.\n"],null,["# Build your first pass\n\nReady to build your first Google Wallet pass? Check out these useful resources\nto help you learn how to build and issue your first pass.\n\nIssue passes\n------------\n\nReady to issue your first pass? Check out our tutorials that walk you through\nthe process of issuing passes with the Google Wallet REST API and\nGoogle Wallet Android SDK.\n\n[Issue passes for Android](../android)\n[Issue passes for web, email, SMS](../web)\n\nCodelabs\n--------\n\n\nSelf-guided codelabs walk you through the necessary steps to add a pass\nto Google Wallet. To get started, choose \"Android\" if your implementation will be on Android devices\nonly and choose \"Web\" if your implementation supports Android, Web, Email or SMS.\n\n\n[Android](https://g.co/wallet/android-codelab)\n[Web](https://g.co/wallet/web-codelab)\n\nPass builder\n------------\n\nThe Pass Builder is an interactive tool that lets you customize and preview\na basic pass. All you have to do is fill in the form fields\nand the Pass Builder will output the Passes Class and Passes Object definitions you\ncan use to create an actual pass.\n\nPass Builder doesn't support all customizable pass fields, but is a great way to\nget started and familiarize yourself with some of the most common pass customizations.\nFor a complete list of pass fields, see the [reference documentation](/wallet/reference/rest).\n\n[Try Pass Builder](../resources/pass-builder)"]]