Skip to main content
PATCH
/
v2
/
tenant
/
fees
curl --request PATCH \
  --url 'https://api.glider.fi/v2/tenant/fees' \
  --header 'x-api-key: gldr_sk_your_api_key' \
  --header 'content-type: application/json' \
  --data '{ "swapBps": 25 }'
{
  "success": true,
  "data": {
    "swapBps": 25
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.glider.fi/llms.txt

Use this file to discover all available pages before exploring further.

Patches the tenant’s stored integrator swap-fee default. swapBps is the basis-point fee charged on the output side of every swap. Range: 0300 (3%).
  • Auth: x-api-key header (required)
  • Required scope: fees:write
Per-strategy overrides go to PATCH /v2/strategies/{strategyId}/fees.

Patch semantics

  • Omitted field — preserve the current value
  • Explicit null — clear the fee (no integrator fee applied)
  • Explicit value — set the fee
Empty body {} is a 200 no-op.
curl --request PATCH \
  --url 'https://api.glider.fi/v2/tenant/fees' \
  --header 'x-api-key: gldr_sk_your_api_key' \
  --header 'content-type: application/json' \
  --data '{ "swapBps": 25 }'
{
  "success": true,
  "data": {
    "swapBps": 25
  }
}