Pular para o conteúdo principal
POST
Preview a transaction file

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.

X-Idempotency
string

Optional idempotency key for safe retries. Matcher reads the key only from this header, and only when you send one. A request that carries a key only in X-Idempotency-Key or Idempotency-Key is refused with 400 (MTCH-0015), and nothing is processed. If the same key is sent again and the original request was already processed, the stored response is returned with X-Idempotency-Replayed: true. A malformed key returns 400, a key whose first request is still in progress returns 409, and an idempotency storage failure returns 500. These refusals are problem documents.

Parâmetros de caminho

contextId
string<uuid>
obrigatório

The unique identifier of the reconciliation context. Context ID

sourceId
string<uuid>
obrigatório

The unique identifier of the reconciliation source. Source ID

Parâmetros de consulta

max_rows
integer<int64>

Maximum sample rows to return (default 5, max 20)

Intervalo obrigatório: 1 <= x <= 20

Corpo

multipart/form-data
file
file
obrigatório

Sample file to preview (CSV, JSON, XML, or ISO 20022 camt.053)

format
enum<string>

File format (auto-detected from extension if omitted)

Opções disponíveis:
csv,
json,
xml,
camt053
max_rows
integer

Maximum sample rows to return (default 5, max 20)

Resposta

File preview with detected columns and sample rows.

columns
string[] | null
obrigatório

Detected column names

Exemplo:
format
string
obrigatório

Detected file format; camt053 is reported when a format=xml document auto-upgrades on an ISO 20022 camt namespace

Exemplo:

"csv"

rowCount
integer<int64>
obrigatório

Number of sample rows returned

Exemplo:

5

sampleRows
(string[] | null)[] | null
obrigatório

Sample data rows, one inner array per row (up to maxRows)