---
title: "List fee rules"
method: GET
path: "/v1/contexts/{contextId}/fee-rules"
tags: ["Configuration Fee Rules"]
---

# List fee rules

`GET /v1/contexts/{contextId}/fee-rules`

Use this endpoint to retrieve all fee rules for a reconciliation context, ordered by priority.

## Path parameters

- `contextId` string, uuid, required

## Headers

- `X-Request-Id` string

## Response `200`

List of fee rules for the context

- ListFeeRulesResponse — List of fee rules for a reconciliation context
  - `items` FeeRuleResponse[]
    - `id` string, uuid — Unique identifier for the fee rule
    - `contextId` string, uuid — Reconciliation context this rule belongs to
    - `feeScheduleId` string, uuid — Fee schedule applied when this rule matches
    - `name` string — Display name for the fee rule
    - `side` 'LEFT' | 'RIGHT' | 'ANY' — Which transaction side this rule applies to
    - `priority` integer — Evaluation priority (lower numbers are evaluated first; LEFT, RIGHT, and ANY rules share the same priority space)
    - `predicates` FieldPredicateResponse[] — Conditions that must all match for this rule to apply
      - `field` string — Transaction field being evaluated
      - `operator` 'EQUALS' | 'IN' | 'EXISTS' — Comparison operator
      - `value` string — Single value being compared
      - `values` string[] — List of values being compared
    - `createdAt` string, date-time — Creation timestamp in RFC 3339 format
    - `updatedAt` string, date-time — Last update timestamp in RFC 3339 format

## Other responses

- `400` — Invalid context ID format
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — Context not found
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
