It's the reason why we encourage developers to use the <a target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/contribute/plugins">PeerTube plugin API</a> to create their own monetization system.
If you need help, check the <a target="_blank" rel="noopener noreferrer" href="https://joinpeertube.org/help">help page</a>.