This repo is an example app, an implementation of Google In App Billing version 6.1.0+. It included functionality of non-consumable, consumable & subscriptions
Excuse my ignorance or perhaps laziness in reading more about the API, but I didn't see anything in the code about checking whether it's a VIP or not I can even save the purchased status on my "server" because it is possible to know when the user signs up, but it is not possible to know if they have refunded or whether the user requested a refund or not. It is possible to do this action in this API, from what I researched (quite reasonably) there is no way to do this. not in API v5