Pular para o conteúdo principal
GET
/
v1
/
config
/
contexts
List reconciliation contexts
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "019c96a0-10a0-72d2-9fb0-2b7de8093182",
      "tenantId": "019c96a0-0a98-7287-9a31-786e0809c769",
      "name": "Bank Reconciliation Q1",
      "type": "1:1",
      "interval": "daily",
      "status": "ACTIVE",
      "rateId": "019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b",
      "feeToleranceAbs": "0.50",
      "feeTolerancePct": "0.01",
      "feeNormalization": "NET",
      "autoMatchOnUpload": false,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    }
  ],
  "nextCursor": "eyJpZCI6IjEyMyJ9",
  "limit": 20,
  "prevCursor": "eyJpZCI6IjEyMiJ9",
  "hasMore": true
}

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 consulta

limit
integer
padrão:20

The maximum number of items to include in the response.

Intervalo obrigatório: 1 <= x <= 200
cursor
string

The cursor value for retrieving the next page of results.

type
enum<string>

Filter by context type

Opções disponíveis:
1:1,
1:N,
N:M
status
enum<string>

Filter by context status

Opções disponíveis:
DRAFT,
ACTIVE,
PAUSED,
ARCHIVED

Resposta

List of contexts with cursor pagination

Cursor-paginated list of reconciliation contexts

items
object[]

List of reconciliation contexts

nextCursor
string
Exemplo:

"eyJpZCI6IjEyMyJ9"

limit
integer
Intervalo obrigatório: 1 <= x <= 200
Exemplo:

20

prevCursor
string
Exemplo:

"eyJpZCI6IjEyMiJ9"

hasMore
boolean
Exemplo:

true