To integrate a Google Pay API for Passes button into your Android app after you Get access to the Android SDK, refer to the documentation in Use the Android SDK.
The Android API button only works properly if your app is authorized. For more details, read Obtain credentials to authorize your app.
The following is a list of the relevant methods for Google Pay API for Passes:
Annotations | |
---|---|
PayApiAvailabilityStatus
|
Pay API availability status on the device. |
PayClient.RequestType
|
All possible request types that are used by callers of
PayClient.getPayApiAvailabilityStatus(int) . |
PayClient.SavePassesResult
|
Possible result codes passed back in onActivityResult() when you call
PayClient.savePasses(String, Activity, int) or
PayClient.savePassesJwt(String, Activity, int) . |
Interfaces | |
PayClient
|
The interface for Pay API. |
Classes | |
Pay
|
This class is the main entry point for Pay API. |