Generate QR Code and add to wallet

I am developing an iOS app where I have to generate QR code, share it with users through a web link.

When the user clicks on the web link two options needs to given

1. Download as pdf

2. Add to Apple Wallet

I need help to develop the above piece of code specifically generating a QR code which is downloadable through a web link and adding to Apple Wallet.

You cannot create a pass from inside an app. It is to be downloaded from your server.

Maybe you will want to skip the pass generation part and simply go with a QR generating library for your app ?

How do I generate my QR code in my Apple Pay account

Generate QR Code and add to wallet
 
 
Q