构建您的首个卡券
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
准备好打造您的第一个 Google 钱包卡券了吗?请查看这些实用资源,了解如何构建和发布您的第一个卡券。
问题通行证
准备好发放您的第一个卡券了吗?请查看我们的教程,了解如何使用 Google Wallet REST API 和 Google 钱包 Android SDK 签发卡券。
Android 问题通行证
网页、电子邮件、短信通行证
Codelab
自学 Codelab 会引导您完成将卡券添加到 Google 钱包的必要步骤。首先,如果您的实现将仅在 Android 设备上实现,请选择“Android”;如果您的实现支持 Android、Web、电子邮件或短信,请选择“Web”。
Android
Web
卡券构建器
卡券构建器是一款交互式工具,可让您自定义和预览基本卡券。您只需填写相应表单字段,卡券构建器便会输出可用于创建实际卡券的卡券类和卡券对象定义。
卡券构建器并非支持所有可自定义的卡券字段,但这对于入门和熟悉一些常见卡券自定义设置十分有利。如需查看卡券字段的完整列表,请参阅参考文档。
试用卡券构建器
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):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 for adding passes to Google Wallet, with options for Android-only or broader web implementations.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the interactive Pass Builder tool to customize, preview, and generate code for basic passes, serving as an introductory resource.\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)"]]