Update your rake (fee) configuration.
cURL
curl --request PATCH \ --url https://api.ledger.so/v1/rake \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "enabled": true, "percentage": 123, "fixedAmount": 123, "minFee": 123, "maxFee": 123 } '
{ "enabled": true, "object": "rake_config", "percentage": 123, "fixedAmount": 123, "minFee": 123, "maxFee": 123 }
API key for authentication. Get your key from the Dashboard.
Whether rake is enabled
Fee as decimal (e.g., 0.025 for 2.5%)
Fixed fee in cents
Minimum fee in cents
Maximum fee in cents
Updated rake configuration
rake_config