I am still trying to determine a method to generate passes for Apple wallet. I want to issue gift cards as rewards. After reading through Apple Documentation. They outlined the directory of a sample pass as 
Depending on the user I want to to be able to change the pass.json with unique information on a button click before they claim their reward. I am not sure how to dynamically create theses passes.
I tried using this npm library but it does not work https://www.npmjs.com/package/@walletpass/pass-js and looked into other stack overflow posts such as How to add 'Add to Wallet' button to website to add coupons to Apple Wallet and Google Pay accounts
Is there a way I can dynamically edit the pass.json?
Any support would be much appreciated!