Save to Apple Wallet

Adding a loyalty card to Apple wallet involves many steps. You need a server to provide Rest APIs for Apple wallet, and your server sends silent push notifications to devices.

  1. Set the Pass Type Identifier and Team ID on the developer portal following this link

  2. Build web services based on Appleā€™s PassKit Web Service Reference

  3. If you use nodejs, you can use node-passbook to generate passes.

  4. According to Wallet Developer Guide, your server needs to maintain three tables: Device table, Passes table and Registrations table.

  5. The push notification certificate is the pass certificate, and the content of silent push notications should be empty. If you use nodejs, you can use node-apn to send notifications.

      let note = new apn.Notification({