Skip to main content
POST
/
v1
/
transfers
/
ted-in
/
replay
Replay TED IN Backlog
curl --request POST \
  --url https://plugin-br-bank-transfer.sandbox.lerian.net/v1/transfers/ted-in/replay \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Idempotency: <x-idempotency>' \
  --header 'X-Organization-Id: <x-organization-id>'
{
  "outcome": "success",
  "replayed": 2
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. The tenantId is derived from the bearer token or authenticated request context and is not supplied through X-Organization-Id.

Headers

X-Organization-Id
string<uuid>
required

Midaz organization scope for the request, used for downstream CRM, Fees, and Midaz calls. Required on org-scoped transfer routes in every deployment mode; a missing or non-UUID value returns 400. This is not the tenant identifier — tenantId is derived from the bearer JWT or authenticated context, never from this header. Background workers (TED IN poller, reconciliation) have no request header and, in single-tenant mode, fall back to the deployment's ORGANIZATION_ID env.

X-Idempotency
string
required

Required idempotency key for safe retries. Use a UUID v4 or unique business identifier. If the same key is sent again and the original request was already processed, the cached response is returned.

See Retries and idempotency for details.

Maximum string length: 255

Response

Indicates that the replay pass completed. The outcome field reports the cycle result and replayed is the number of backlog rows reprocessed.

outcome
enum<string>
required

Replay outcome label. Unlike the poll cycle, replay does not check the operating-hours window and has no per-message cancellation, so it never returns skipped_outside_window or cancelled.

Available options:
success,
empty,
skipped_busy,
error
Example:

"success"

replayed
integer
required

Number of persisted backlog rows reprocessed during this pass.

Required range: x >= 0
Example:

2