Can you pair apple pay with an app?

I am doing a group project for my undergraduate degree. We are making a hypothetical app and need some clarificaiton. Can apple pay and an app pair with one another? For example, if I bought something at the grocery store and wanted that reciept to automatically populate in the app? Thank you for all the help. It is very helpful for our team.