Partially update an existing fee rule. Only the provided fields are modified. The transactionType and feeType cannot be changed — delete and recreate the rule instead.
API token authentication using format <api token id>:<api client secret>
System-generated unique fee rule identifier
Partial update for an existing fee rule. Only provided fields are updated. The transactionType and feeType cannot be changed — delete and recreate the rule instead.
Updated fixed fee in the smallest unit of USD (cents). Must be between 0 and 10000.
0 <= x <= 10000200
Updated variable fee as a decimal rate. Must be between 0 and 0.20.
0 <= x <= 0.20.01
Enable or disable the fee rule
false
Fee rule updated successfully
A platform fee rule defines the markup a platform charges its customers on a specific transaction type, on top of Lightspark and counterparty fees. Rules are evaluated at quote creation and the resulting platform fee is collected in real time during settlement.
System-generated unique identifier
"FeeRule:019c6a2b-4f8e-7d01-0000-000000000001"
The type of transaction the fee rule applies to. Platform fee rules are scoped to a single transaction type — only one rule per type is allowed.
TRANSFER_IN, TRANSFER_OUT, RAMP_ON, RAMP_OFF, CROSS_BORDER_PAYOUT "CROSS_BORDER_PAYOUT"
Determines which fee components apply. FIXED charges a flat amount per transaction. PERCENTAGE charges a rate of the transaction amount. HYBRID applies both a fixed amount and a percentage rate.
FIXED, PERCENTAGE, HYBRID "HYBRID"
Whether this fee rule is actively applied to new transactions. Disabled rules are retained for reporting but do not affect new quotes.
true
When the fee rule was created
"2026-01-15T00:00:00Z"
When the fee rule was last modified
"2026-02-01T12:30:00Z"
Fixed fee in the smallest unit of USD (cents). Applied per transaction. Required when feeType is FIXED or HYBRID.
x >= 0150
Variable fee as a decimal rate of the transaction amount (e.g., 0.005 = 0.5%). Applied to the sending amount at quote creation. Required when feeType is PERCENTAGE or HYBRID.
0 <= x <= 0.20.005