Fee collection
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.
Lirium pays the fee of each order separately, with no batching: once an order with a fee completes, Lirium credits that fee to your settlement account with a partner_commission Partner Order, shortly after. Its reference_id is the id of the order it pays, so you can match each payment to its order.
You can see the fee object structure in the Orders Reference page.
Fees in another currencyA fee collected in a currency you have no settlement account for, such as a
redeem_investmentcommission in the investment's asset, still gets its own partner_commission Partner Order, in that currency. Lirium then periodically converts those fees into your settlement currency with a commission_conversion Partner Order.
RecipeRedeem an Investment shows how to attach a partner
commissionto aredeem_investmentorder and how it surfaces in the responsefees[]array.
Updated 8 days ago
