Skip to main content
GET
/
v1
/
config
/
contexts
/
{contextId}
/
sources
List reconciliation sources
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts/{contextId}/sources \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "items": [
    {
      "config": {},
      "contextId": "550e8400-e29b-41d4-a716-446655440000",
      "createdAt": "2025-01-15T10:30:00.000Z",
      "hasFieldMaps": true,
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Primary Bank Account",
      "type": "BANK",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    }
  ],
  "limit": 20,
  "nextCursor": "eyJpZCI6IjEyMyJ9",
  "prevCursor": "eyJpZCI6IjEyMiJ9"
}

Authorizations

Authorization
string
header
required

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

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

Path Parameters

contextId
string
required

The unique identifier of the reconciliation context.

Query Parameters

limit
integer
default:20

The maximum number of items to include in the response.

Required range: 1 <= x <= 200
cursor
string

The cursor value for retrieving the next page of results.

type
enum<string>

Filter by source type

Available options:
LEDGER,
BANK,
GATEWAY

Response

List of sources with cursor pagination

Cursor-paginated list of reconciliation sources

hasMore
boolean
Example:

true

items
object[]

List of reconciliation sources with field map status

limit
integer
Required range: 1 <= x <= 200
Example:

20

nextCursor
string
Example:

"eyJpZCI6IjEyMyJ9"

prevCursor
string
Example:

"eyJpZCI6IjEyMiJ9"