Pular para o conteúdo principal
GET
/
v1
/
imports
/
contexts
/
{contextId}
/
jobs
/
{jobId}
/
transactions
List transactions for a job
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/imports/contexts/{contextId}/jobs/{jobId}/transactions \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "items": [
    {
      "amount": "1000.50",
      "contextId": "019c96a0-10a0-72d2-9fb0-2b7de8093182",
      "createdAt": "2025-01-15T10:30:00.000Z",
      "currency": "BRL",
      "date": "2025-01-15T00:00:00.000Z",
      "description": "Wire transfer from ABC Corp",
      "externalId": "TXN-12345",
      "extractionStatus": "EXTRACTED",
      "id": "019c96a0-10ce-75fc-a273-dc799079a99c",
      "jobId": "019c96a0-10ce-75fc-a273-dc799079a99c",
      "sourceId": "019c96a0-108c-7a74-8e31-3789daffe1ed",
      "status": "PENDING"
    }
  ],
  "limit": 20,
  "nextCursor": "eyJpZCI6IjEyMyJ9",
  "prevCursor": "eyJpZCI6IjEyMiJ9"
}

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
obrigatório

The unique identifier of the reconciliation context.

jobId
string
obrigatório

Job ID

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.

sort_order
enum<string>

The order used to sort the results.

Opções disponíveis:
asc,
desc
sort_by
enum<string>

The field used to sort the results.

Opções disponíveis:
id,
created_at,
date,
status,
extraction_status

Resposta

Indicates that the request was successful and the response contains the expected data.

Cursor-paginated list of transactions

hasMore
boolean
Exemplo:

true

items
object[]

List of transactions

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

20

nextCursor
string
Exemplo:

"eyJpZCI6IjEyMyJ9"

prevCursor
string
Exemplo:

"eyJpZCI6IjEyMiJ9"