Creating passes
This library adds passes to the wallet. Creating and signing them happens on your server.
Apple Wallet (.pkpass)
A .pkpass is a signed zip archive containing pass.json, images and a manifest. You need a Pass Type ID and its certificate from the Apple Developer portal.
- Apple: Wallet Passes
- pass-js: create passes with Node.js
- To update passes after they are added, implement the web service referenced by
webServiceURL.
Send the file to the app base64 encoded and pass the string to addPass.
Google Wallet
Google Wallet passes are made of a class (shared template) and an object (one per user). Both are created through the Google Wallet API with an issuer account.
Give the app one of the following:
- the JSON save payload (same shape as the JWT body, unsigned), base64 encoded, for
addPass, or - a signed JWT, for
addPassJWT.