10

I would be really helpful if anyone provides a solution to know, how do we add the credit/debit card details to Wallet from our App. I have the credit/debit card details for the user and when user tap on Apple Pay option in my App, the Add Card screen in Apple Wallet need to be opened with card data pre-populated. How do we achieve the same.

Thanks in advance

Prasanth Raj
  • 157
  • 1
  • 2
  • 8
  • 1
    You cannot add credit cards from an app. – PassKit Aug 16 '17 at 08:48
  • Can we add debit card to wallet? – Prasanth Raj Aug 16 '17 at 09:12
  • You can't add anything to the top half of the wallet, unless you are the card issuer (and have an agreement with Apple). For the bottom half, then there is an open API to create tickets, boarding passes, coupons, loyalty cards, etc. – PassKit Aug 16 '17 at 09:35
  • Thanks for your response. I would like to know, instead of user adding their debit/credit card details explicitly to Wallet(Passbook) App, Can our app do the task by collection card details from user and take the user to Add Card screen in Wallet? – Prasanth Raj Aug 16 '17 at 09:50
  • The best you can do is to offer a screen advising the user what to do. Why do you even need the credit card details? One of the fundamental principles of Apple Pay is not needing to share the underlying credit card details with the merchant. I imagine that even if you succeed in what you are tying to do, the probability of getting the app approved by Apple would be low. – PassKit Aug 16 '17 at 10:51
  • basically it's a banking application, where we have the customer card details with the app, we are giving one more option to add existing the card to wallet. So that it will be helpful for them. – Prasanth Raj Aug 16 '17 at 10:57
  • In that case - if you are the card issuer, I would talk directly with your Apple Pay representative. A lot of the "top half" of the wallet documentation is only available under NDA, but they would be best placed to get you with the resources and information required. – PassKit Aug 16 '17 at 13:18
  • @PrasanthRaj did you achieve your requirement. – S P Balu Kommuri Apr 16 '18 at 11:57
  • @PrasanthRaj Prasanth, Could you please tell me what should be the implementation for addPaymentPassViewController:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler: – Gaurav Borole Jan 22 '20 at 10:38
  • @PassKit is exist official documented answers on this? – Hrvoje Sep 13 '21 at 07:01

2 Answers2

21

The good news is that this can be done. What you are looking for is In-App Provisioning of Payment Cards. This is done using the PKAddPaymentPassViewController, which requires the com.apple.developer.payment-pass-provisioning entitlement key for your app. The bad news is that not anyone can submit apps with this entitlement as it requires special permission from Apple, which I believe is reserved for card issuers like banks and similar. If you believe that you qualify you need to contact Apple directly at apple-pay-inquiries@apple.com.

pajevic
  • 4,607
  • 4
  • 39
  • 73
2

Apple only want to communicate with bank.@pajevic

Abreast of the times email address is: apple-pay-provisioning@apple.com

on the https://developer.apple.com/apple-pay/ we can find in Lower right corner snapshot

housenkui
  • 31
  • 3