downloadUrl
, unique to each pass, which when clicked by the end user will open a generic pass download page, a web view hosted by PassEntry on download.passentry.com
.
As at this stage, the passholder’s device type is unknown, one of the purposes of this download page is to detect the user’s device and deliver either an Apple Wallet pass or Google Wallet pass. When the download page is opened on a device other than an iPhone or Android phone, it will display a QR code directing the user to the same URL, in order to direct them to open the download page on a mobile device.
Using this download page enables simple distribution of passes to your customers via a generic, dynamic link. As a best practice, we suggest putting the downloadUrl
behind a button or redirecting the user to it at a desired point in their user journey.
?includePassSource
query parameter in your POST /passes/
or GET /passes/:id
request. This parameter accepts apple
or google
as options. For more details, review the API documentation for these endpoints.
If valid, the response will include the pass attributes in JSON, alongside a passSource
object. It will only return the passSource
object in the response if the selected pass is not currently active in a device.
passSource
object will contain a key, googleDownloadUrl
, containing a unique URL, which when opened on an Android device, will prompt the user to add their pass to their Google Wallet. As the Google Wallet is linked to an individual Google Account, the user will be prompted to log in to their Google Account if they are not already logged in and to download the Google Wallet if they have not already done so.The googleDownloadUrl
works best when placed behind Google’s “Add to Google Wallet” button. Here are the brand guidelines and assets provided by Google:Add to Google Wallet