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

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 strategy’s integrator-fee override. swapBps is the basis-point fee charged on the output side of every swap for this specific strategy. Range: 0300 (3%).
  • Auth: x-api-key header (required)
  • Required scope: fees:write
Sending null clears the per-strategy override. The tenant-wide default lives at PATCH /v2/tenant/fees. Cross-tenant access returns 404.

Patch semantics

  • Omitted field — preserve the current override value
  • Explicit null — clear the per-strategy override
  • Explicit value — set the override
Empty body {} is a 200 no-op.
curl --request PATCH \
  --url 'https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4/fees' \
  --header 'x-api-key: gldr_sk_your_api_key' \
  --header 'content-type: application/json' \
  --data '{ "swapBps": 10 }'
{
  "success": true,
  "data": {
    "swapBps": 10
  }
}