You need to implement Apple pass creation, distribution and updation code in your backend solution. Find the following references and documentations:
Apple Pass for JAVA backend :
https://github.com/drallgood/jpasskit
https://dzone.com/articles/ios-and-android-push
http://www.ryantenney.com/passkit4j/
Apple Pass Web URL specs:
https://developer.apple.com/library/content/documentation/PassKit/Reference/PassKit_WebService/WebService.html
Apple Pass for PHP backend :
https://github.com/tschoffelen/PHP-PKPass
Apple Pass with Ruby
https://oleb.net/blog/2013/02/passbook-tutorial/
APNS with Node.js :
https://solarianprogrammer.com/2017/02/14/ios-remote-push-notifications-nodejs-backend/
Push notification for updating iOS Pass :
https://stackoverflow.com/questions/15877496/how-to-make-a-push-notification-for-a-pass
Pass Kit Web Service Reference:
https://developer.apple.com/library/content/documentation/PassKit/Reference/PassKit_WebService/WebService.html
Important Note : If you are using any JAVA JAR, please check which server OS you are using, like IBM AIX OS (uses IBMX509) or Oracle OS (used SUNX509). Many libraries of Apple pass in JAVA is available which only support SUN JDK. You can land up into huge trouble in the last moment, if your server is AIX OS and JAR is using SUN.
For Eg: jPassKit JAR from https://github.com/drallgood/jpasskit only supports SUN JDK, so you can't use this for IBM AIX OS server.