Is there an API that can check whether an app has been purchased in a paid app?

In the news these days, there are many things that Apple may allow sideloading installation from iOS 17.

In that case, it might not be a problem to install only the ipa file of the paid app and install it on someone else's device.

Is Apple currently supporting an API that can check whether a paid app has been purchased? (This is a paid app, not a subscription or in-app purchase.)

If there is such an API, please let me know.

Yes you can use the app details included in the app receipt (original storekit) or appTransaction (SyoreKit2).

also can consider looking into App attest. https://developer.apple.com/documentation/devicecheck/dcappattestservice

Is there an API that can check whether an app has been purchased in a paid app?
 
 
Q