If for any reason you can't do it yourself on your side, Lirium offers the possibility of collecting fees from customers on buy and sell operations.
This feature must be manually configured for your account by writing to [email protected].
If the feature is enabled, you'll see the corresponding fees inside the exchange (buy or sell) order json in the Order Details endpoint, these fees will be accumulated on Lirium's side and will periodically be paid to your settlement account via a partner_commission Partner Order
You can see the fee object structure in the Orders Reference page.