Pular para o conteúdo principal
GET
/
v1
/
config
/
contexts
/
{contextId}
/
fee-rules
List fee rules
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts/{contextId}/fee-rules \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "contextId": "550e8400-e29b-41d4-a716-446655440000",
      "feeScheduleId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "BB Right-Side Rule",
      "side": "RIGHT",
      "priority": 0,
      "predicates": [
        {
          "field": "institution",
          "operator": "EQUALS",
          "value": "Banco do Brasil",
          "values": [
            "<string>"
          ]
        }
      ],
      "createdAt": "2025-01-15T10:30:00Z",
      "updatedAt": "2025-01-15T10:30:00Z"
    }
  ]
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Cabeçalhos

X-Request-Id
string

A unique identifier for tracing the request across services.

Parâmetros de caminho

contextId
string<uuid>
obrigatório

The unique identifier of the reconciliation context.

Resposta

List of fee rules for the context

List of fee rules for a reconciliation context

items
object[]