Can we create our own inapp purchase in Epic PC Game

As title, we plan to sell PC/Mac game via Epic store. And plan to sell virtual items inside the game. So we will create a payment page . For inapp purchase, it is allowed in Epic policy.

If it is allowed, the profit from our own store will be shared with Epic Company ?