Integrator fees and payouts
Integrators can now charge their own fee on the trades their users make through them, see it on every quote and settled trade, and claim it in USDC through four new routes under /payouts. All of it needs an integrator key.
What changed
- Your fee on every quote made with your key. Treasures configures a default fee and a ceiling for your key; send
integrator_fee_bpsonPOST /quote/buy,POST /quote/sellorPOST /quote/previewto use a different fee on one quote. Each leg reports it ascost_breakdown_bps.integrator_fee_bps, andestimated_output_*already allows for it. - Submit with the key that quoted. A quote that carries your fee is refused at
POST /trade/submitwith403 quote_integrator_mismatchif it arrives without that key. - New quote refusals:
400 invalid_integrator_fee,400 integrator_fee_requires_api_keyand503 integrator_fee_misconfigured. - Settlements:
GET /settlementsgains anintegrator_feeentry infee_costs, with thepayout_idit went out in, and two filters,payout_idandpayout_status. - Payouts, general
tik_key only:GET /payouts/accrued(what you are owed and whether you can claim it),POST /payouts(claim all of it to your registered address;Idempotency-Keyrequired),GET /payoutsandGET /payouts/{payoutId}.
What to do
Nothing, if you do not charge a fee: a quote without your key is unchanged, and with it your configured default applies. To charge or claim fees, read Integrator Fees and Payouts, and always submit fee-carrying quotes with the key that requested them.