Apple Pay is a percentage paid by the bank, not the merchant.
In-app purchase is for an app being used to buy digital goods and services consumed in-app. The agreement for publishing apps says that you will give Apple a cut, and upfront purchase price and in-app purchases are how they collect it.
You can’t use in-app purchases to say order dinner to be delivered.
I think you're missing the point. You're focusing on the technical differences, but it's not outlandish to imagine Apple demanding a cut of all transactions on iOS over time.
It would start slowly, with a minor value-add (e.g., making it easier to put/use CC info in the secure enclave, or whatever incremental step they choose), and an announcement that in exchange for "easing payments and making them more secure", Apple will be charging X% of transactions with their system.
Apple Pay is a percentage paid by the bank, not the merchant.
In-app purchase is for an app being used to buy digital goods and services consumed in-app. The agreement for publishing apps says that you will give Apple a cut, and upfront purchase price and in-app purchases are how they collect it.
You can’t use in-app purchases to say order dinner to be delivered.