This is a description of the current best practices for engaging an Apple Wallet from a Web Site.
Both Apple and Google mobile phone operating systems are shipped with a wallet that can be used in the real-world or online.
Here is a video detailing how the API works: https://developer.apple.com/wwdc22/10041
Here is the documentation that we just released that details how to test the API:
We've provided a few mechanisms to help you test. First, you can test in the iOS Simulator, where the API will return a mock response. This response is similar to a real one, but lacks real signatures.
Similarly, you can use a test profile to receive a mock response on a real iPhone, even If you don't have an ID in Wallet on that iPhone. Details are here: https://developer.apple.com/documentation/passkit/wallet/verifying_wallet_identity_requests