Skip to main content
POST
/
v1
/
broker
/
fee_rate
/
set
Update User Fee Rate
curl --request POST \
  --url https://api.perpo.trade/v1/broker/fee_rate/set \
  --header 'Content-Type: application/json' \
  --header 'perpo-account-id: <perpo-account-id>' \
  --header 'perpo-key: <perpo-key>' \
  --header 'perpo-signature: <perpo-signature>' \
  --header 'perpo-timestamp: <perpo-timestamp>' \
  --data '
{
  "maker_fee_rate": 123,
  "taker_fee_rate": 123,
  "account_ids": [
    "<string>"
  ],
  "rwa_taker_fee_rate": 123,
  "rwa_maker_fee_rate": 123
}
'
{
  "success": true,
  "timestamp": 1702989203989
}

Headers

perpo-timestamp
string
required
perpo-account-id
string
required
perpo-key
string
required
perpo-signature
string
required

Body

application/json
maker_fee_rate
number
required

Maker fee charged to users by default (0.0001 = 0.01%)

taker_fee_rate
number
required

Taker fee charged to users by default (0.0001 = 0.01%)

account_ids
string[]
required

List of account_ids for which the fees need to be changed

rwa_taker_fee_rate
number
rwa_maker_fee_rate
number

Response

200 - application/json

OK

success
boolean
required
Example:

true

timestamp
integer
Example:

1702989203989