Can an integration app take a percentage on sale?

For example,

The Meta app connects & allows your shop to be linked on social posts. Hypothetically, Could they take a percentage of the sale if they wanted to, like for “facilitating it”.

Please let me know.