Skip to main content

Request Body

FieldTypeRequiredDescription
venuestringYesVenue to configure (e.g. "polymarket")
partnerFeeBpsnumberYesPartner fee in basis points. Use 0 to disable, or 10+ to enable.
partnerTreasuryAddressstringIf partnerFeeBps > 0EVM address where partner fees are collected

Response Fields

FieldTypeDescription
venuestringVenue the policy applies to
enabledbooleanWhether fees are active
platformFeeBpsnumberPlatform fee (currently 0)
partnerFeeBpsnumberPartner markup in bps
partnerTreasuryAddressstring or nullPartner treasury address
totalFeeBpsnumberplatformFeeBps + partnerFeeBps
The combined totalFeeBps (platform + partner) cannot exceed 500 bps (5%). Since the platform fee may change, the effective maximum for partnerFeeBps is 500 - platformFeeBps. Partner fees have a minimum of 10 bps when enabled - set to 0 to disable entirely.
If two requests update the policy concurrently, one will succeed and the other will receive a 409 Conflict. Simply retry on 409.
curl -s -X PUT "https://trade.predexon.com/api/fees/policy" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "venue": "polymarket",
    "partnerFeeBps": 100,
    "partnerTreasuryAddress": "0x1234..."
  }'
{
  "venue": "polymarket",
  "enabled": true,
  "platformFeeBps": 0,
  "partnerFeeBps": 100,
  "partnerTreasuryAddress": "0x1234...",
  "totalFeeBps": 100
}