Update a Fee Rule

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Updates an existing fee rule by id, for example to change its rate, effective date, or expiry. The 5% cap still applies, and the new rate takes effect on the next transaction after its effective date (payments already verified keep the rate active when they were verified). Requires the signed admin header (no x402 payment).

Path Params
string
required

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

Body Params
agents
array of strings

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

agents
date-time

When the rule becomes effective (RFC 3339).

date-time

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

string
required

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

string

Free-text justification recorded in the audit trail.

string
enum
required

Match scope of the rule.

Allowed:
string
enum
required

Fee-bearing ledger transaction type the rule applies to.

Allowed:
Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json