Configure fee rules and a payout wallet in the Developer Portal Fees tab. Enso applies them automatically to quotes from your API key; no request parameter is required.
Definition
A partner fee is a charge on trades your integration quotes through Enso. You configure it once for your account, and the fee is taken in the same transaction that executes the trade, according to the rules and split recorded for that account.
How it works
Activate fee capture, sign the fee agreement, and set a payout wallet.
Add one or more rules. A rule can apply to all trades, a chain, a token, or a token pair, and the most specific matching rule wins.
A rule can also vary by trade size, with a default fee when USD value cannot be determined.
Changes apply to newly quoted transactions, typically within about a minute. Transactions that were already quoted keep the fee they were quoted with.
How Enso does this
Open the Fees tab in the Developer Portal. The portal is the source of truth for your account, including the split (50/50 by default in the docs). Route and Quote responses report feeAmount, feeBreakdown (with roles such as partner, enso-share, or splitter), and ensoFeeAmount where it applies. On some chains a splitter contract receives the whole fee until it is claimed. See Fees.
FAQ
Do I pass the fee in the Route request?
No. Configuration in the portal is enough. Enso applies the matching rule to transactions quoted with your API key.
When does a rule change take effect?
On newly quoted transactions, typically within about a minute. Do not rely on a new rule for a transaction that was already quoted.
Related articles
How do I add an Earn tab to a wallet or app?
How do I show a quote before the user signs?
What is the Enso Route API?
What legal terms apply to the Enso API?
How do I get an Enso API key?
