How to open Wallet App in iOS

I have a requirement to open wallet app from my app. Please let me know ways to open wallet app from external app.

Replies

If this is your app you would create a in-app purchase item and it will use the card info for the account on file when the user buys the in-app purchase. If this is in fact a website and not an app in the App Store you would use a external payment processor like Stripe and setup your account to accept Apple Pay as a payment method.

You can also use the PassKit API.

To open a payment button: https://developer.apple.com/documentation/passkit/pkpaymentbutton
To interact with passes: https://developer.apple.com/documentation/passkit/pkpasslibrary

For in-app purchases Apple has an entire page for this.

https://developer.apple.com/in-app-purchase/
Hi Kasanna,

Can you provide more information on the reason that you want to open the Wallet app? If you want the user to set up a card for Apple Pay, use the openPaymentSetup API on PKPassLibrary. If you want to direct the user to an existing pass in Wallet, use the passURL property on PKPass.
  • Using passURL from the iOS app can open the Wallet Watch app? if not, how can i open the wallet in apple watch with passURL ?

Add a Comment

Hi Kasanna, Did you manage to solve this? I also have a requirement to launch apple wallet from my customer's native app.

How to open wallet >settings in iPad (if i click on add navigators. --> ). Does this openPaymentSetup or PathURL works?