The Android API button will only work properly if your app is whitelisted. You can whitelist your app by completing the steps in Obtain credentials to whitelist your app.
A list of the relevant methods for Google Pay API for Passes are below.
|CreateWalletObjectsRequest||Parcelable representing request to create wallet objects.|
|GiftCardWalletObject||Parcelable representing a gift card object.|
|LoyaltyWalletObject||Parcelable representing a loyalty card object.|
|OfferWalletObject||Parcelable representing a offer object.|
The main entry point for Google Wallet integration. You need to build a
|WalletConstants||Collection of constant values used by the ClientLibrary.|