---
title: "Get a fee rule"
method: GET
path: "/v1/fee-rules/{feeRuleId}"
tags: ["Configuration Fee Rules"]
---

# Get a fee rule

`GET /v1/fee-rules/{feeRuleId}`

Use this endpoint to retrieve the details of a specific fee rule by its identifier.

## Path parameters

- `feeRuleId` string, uuid, required

## Headers

- `X-Request-Id` string

## Response `200`

Successfully retrieved fee rule

- FeeRuleResponse — A fee rule that maps transaction metadata to a fee schedule within a reconciliation context
  - `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 fee rule ID format
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — Fee rule 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)
