is there an API to know that the current application is obtained through pre-purchase

I have a game that I want to release through Apple’s appointment. After the user starts the game, is there an API to know that the current application is obtained through pre-purchase, because we are ready to give rewards to users who have scheduled installation.
is there an API to know that the current application is obtained through pre-purchase
 
 
Q