Skip to main content
POST
Enviar um lote de operações de liquidação (NDJSON síncrono)

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

Idempotency-Key
string

Idempotency key for safe retries of the whole batch.

Corpo

application/x-ndjson

Newline-delimited JSON operations (application/x-ndjson); one CreateOperationRequest per line.

The body is of type string.

Resposta

Batch accepted; per-line accepted/rejected counts and errors with the meta envelope.

accepted
integer<int64>
obrigatório

Count of accepted operations.

Exemplo:

48

batchId
string
obrigatório

Generated batch id grouping every line of the submission.

Exemplo:

"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"

errors
object[] | null
obrigatório

Per-line rejection errors (capped at the first batchErrorCap entries).

errorsTruncated
boolean
obrigatório

True when more rejections occurred than the errors array lists.

Exemplo:

true

meta
object
obrigatório

Batch response envelope metadata (requestId + timestamp).

rejected
integer<int64>
obrigatório

Count of rejected lines.

Exemplo:

2