Skip to main content
Question

Restoreing Purchases for Consuamble IAP

  • September 1, 2025
  • 1 reply
  • 46 views

Forum|alt.badge.img+2

My app uses credits as consumable in-app purchases. What I want is to restore users' credits after they reinstall the app. Is there a way to maintain the same user ID so that I can use them to restore users' credits in the back-end?

This post has been closed for comments

1 reply

alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@chaosx

Thank you for reaching out! 

Consumable in-app purchases are not restorable by design. However, as you mentioned, you can manage the user’s credit on your backend and grant their balance back to the user after reinstalling the app. 

User IDs set via RevenueCat get erased from the phone if a user uninstalls the app. However, if your app has a custom login system, you can use the ID generated to grant users the credits they haven’t used yet. Are you using a Login system on your app?

If you use a login system and can identify users with Custom User IDs, I recommend using RevenueCat Virtual Currencies. As long as you identify the user via the `login` method or while configuring the SDK, RevenueCat will manage their balance. The available balance will be applied automatically once the user reinstalls the app. To spend the User’s credit, you need to make an API call from your backend so that RevenueCat updates the available credits.

I hope this helps. Please let me know if you have additional questions!