CorebanqCorebanq Developer Docs
FXv1

List FX tariff fees

Lists fee ranges as a BARE JSON ARRAY, in INTEGER MINOR units. This v1 route is unpaginated and does not use the shared query parser: it reads exactly two query parameters by hand, and every shared parameter (limit, offset, sort, filter, search_text, stack, distinct, search.*) is discarded without error. When the caller has no permitted tariffs the reply is an empty array, not an error — unlike GET /v1/fx/tariffs, which answers 400 in that case.

GET
/v1/fx/tariffs/fees

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

fx_tariff_id?string

Restrict to one tariff's fee ranges. A value that is not a uuid is LOGGED AND IGNORED, not rejected — the filter simply does not apply.

active?boolean

Restrict to active or inactive ranges. A value that does not parse as a boolean is ignored rather than rejected.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/fx/tariffs/fees"
[
  {
    "min_range": 0,
    "max_range": 0,
    "fixed_fee": 0,
    "percent_fee": 0.01,
    "min_fee": 0,
    "max_fee": 0,
    "method": "fixed",
    "base_currency": "67615cab-16f6-4751-af40-c6c0dbcaffe0",
    "target_currency": "3b3e8109-66d3-4a6d-b9f1-d0865976f9f8",
    "fx_tariff_id": "f12d958c-c80c-4752-862c-9e0c09506488",
    "date_start": "2019-08-24T14:15:22Z",
    "date_end": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "created_at": "2019-08-24T14:15:22Z",
    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
    "modified_at": "2019-08-24T14:15:22Z",
    "modified_by": "e8d4374d-93a1-4e98-a6c6-fdcf00c5059f",
    "active": true,
    "metadata": {}
  }
]
{
  "status": 409,
  "message": "Spread rule overlaps an existing rule",
  "code": "fx_m.spread_overlap",
  "class": "business",
  "retryable": false,
  "details": [
    {
      "field": "percent_fee",
      "rule": "lte",
      "param": "1",
      "message": "string"
    }
  ]
}
{
  "status": 403,
  "message": "Access denied",
  "code": "common.forbidden",
  "class": "business"
}
{
  "status": 429,
  "message": "Rate limit for 203.0.113.7 to GET:/v1/fx/rates exceeded.",
  "code": "rate_limits_m.exceeded",
  "class": "temporary",
  "retryable": true
}
{
  "status": 409,
  "message": "Spread rule overlaps an existing rule",
  "code": "fx_m.spread_overlap",
  "class": "business",
  "retryable": false,
  "details": [
    {
      "field": "percent_fee",
      "rule": "lte",
      "param": "1",
      "message": "string"
    }
  ]
}

{
  "overall_status": "unhealthy",
  "message": "Service is shutting down",
  "timestamp": "2026-08-27T15:04:05Z"
}