NFC with apple wallet help

I want to create an app that will allow users to scan a NFC card of any type, and add it to apple wallet so it is digital. How would I create the source files for the pass within the app?

NFC with apple wallet help
 
 
Q