How I can do lottery in my app with in app purchases ?

Hi guys!

I have some lottery in my app.

And I want that participation in the competition will be paid.

Can I do this with in app?

How I can do lottery in my app with in app purchases ?
 
 
Q