v1

latestOpenAPI 3.1.0Proprietary2026-07-1434570540.9 KB
Admin

Update a Fee Rule

Updates an existing fee rule by id, for example to change its rate, effective date, or expiry.

put/admin/fees/{id}

Path parameters

idstring required

Identifier of the fee rule to update. Overrides any feeId in the body.

Request body

agentsstring[]

Agents the rule targets: empty for 'global', one for 'agent', two for 'pair'.

effectiveFromstring date-time

When the rule becomes effective (RFC 3339).

effectiveUntilstring date-time

Optional expiry after which the rule no longer applies (RFC 3339).

ratestring required

Fee rate as a non-negative decimal fraction; must not exceed the configured maximum.

reasonstring

Free-text justification recorded in the audit trail.

scope'global' | 'agent' | 'pair' required

Match scope of the rule.

transactionType'sale' | 'payment' | 'subscription' | 'group_fee' | 'revenue_share' required

Fee-bearing ledger transaction type the rule applies to.

Response

OK

object required