In app selling with variable value

Hi guys! need help, I having some trouble to find a way to put stuff to seel in my app, the problem is that I don’t have a product to sell, is more like a bet, so people can bet how much money they want, so they have to choose how much the “product” will cost. Someone know how to do it?

I don’t think it’s directly possible. But one another method to do is that you make a virtual currency inside the app. Like you make coins pack in IAP with different Coins Values. And now the users can purchase coins packs from Play Store and use them inside your app as they want

You mean with google in app billing?

Yes bro I am talking about Google IAP