Inout Recharge - API Documents



Developer API Guide :

  • Passes are a digital representation of information that might otherwise be printed on small pieces of paper or plastic. They let users take an action in the physical world. Passes can contain images and a barcode, and you can update passes using push notifications. The pass library contains the user’s passes, and users view and manage their passes using the Wallet app.

    This technology consists of three main components:

  • A package format for creating passes.
  • A web service API for updating passes, implemented on your server
  • An API used by your apps to interact with the user’s pass library.

  • The PassKit support materials are available in the developer downloads area. They contain fully worked example passes, a command-line tool to help you sign passes during development, and a sample implementation of the web service.

Listing 3-1Setting the pass type ID and Team ID
  1. {
  2. ...
  3. "passTypeIdentifier" : "
  4. your pass type identifier
  5. ",
  6. "teamIdentifier" : "
  7. your Team ID
  8. ",
  9. ...
  10. }

    To find your Team ID, do the following:

  • Open Keychain Access, and select your certificate.
  • Select File > Get Info, and find the Organizational Unit section under Details. This is your Team ID. The pass type identifier appears in the certificate under the User ID section.