we want to get the last four digits of the real card number in apple Pay, and I found information about it in the document, link: https://developer.apple.com/documentation/passkit_apple_pay_and_wallet/pksecureelementpass/3543366-primaryaccountnumbersuffix?language=objc My question is how to use it,can you provide sample code? We are very anxious, thank you!
Hi @zhangruiguo,
The user's pass library only provides passes that are eligible for your apps and app extensions. The issuer of the pass needs to add your bundle IDs and App IDs to its payment network operator metadata, and the pass itself should also contain your bundle ID.
If you are not the issuer of any card, or associated with any issuer of cards activated on the device, an empty array is expected.
Cheers,
Paris X Pinkney | WWDR | DTS Engineer