Fee Rules

This section give's control over the system's fee rules.
Fee rule must be setted before trying to perform any trading action.
Fee rule must have specified volume (range) and a Fee percentage / Min. Fee / Fixed fee.
Fee rules can be different for every currency or side (Buy / Sell).
Admin logged in - can create new fee rules per every currency available in his system,delete or edit any fee rule.
User logged in - user don't have access to fee rules settings.

List Fee Rules

Retrieves the list of all fee rules.

Responses
200

Successful response

get/feerules
Response samples
application/json
[
  • {
    }
]

Create Fee Rule

Creates a new fee rule.

Request
Request Body schema: application/json
required
object
Responses
200

Successful response

post/feerules
Request samples
application/json
{ }

Show Fee Rule

Retrieves a specific fee rule by its ID.

Request
path Parameters
id
required
string
Responses
200

Successful response

get/feerules/{id}

Update Fee Rule

Updates an existing fee rule by ID.

Request
path Parameters
id
required
string
Request Body schema: application/json
required
liquidity_id
required
string
base_currency
required
string
quote_currency
required
string
markup_percent
required
number
markup_fixed
required
number
markup_min
required
number
side
required
string
Enum: "BUY" "SELL"
from_volume
required
number
to_volume
required
number
Responses
200

Fee rule updated successfully

put/feerules/{id}
Request samples
application/json
{
  • "liquidity_id": "string",
  • "base_currency": "string",
  • "quote_currency": "string",
  • "markup_percent": 0,
  • "markup_fixed": 0,
  • "markup_min": 0,
  • "side": "BUY",
  • "from_volume": 0,
  • "to_volume": 0
}

Delete Fee Rule

Deletes an existing fee rule by ID.

Request
path Parameters
id
required
string
Responses
200

Fee rule deleted successfully

delete/feerules/{id}