Skip to main content
PUT
Declare that an engine is in bypass on this rail

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Idempotency key; a retry with the same key and body replays the first answer.

Parâmetros de caminho

channelId
enum<string>
obrigatório

The rail. Closed vocabulary — a value outside it is a 404, never a new rail.

Opções disponíveis:
spb,
pix

Corpo

application/json
engineId
string
obrigatório
Pattern: ^[a-z0-9-]{1,32}$
reason
string
obrigatório

Required — a bypass suspends coexistence guarantees.

Required string length: 1 - 512
declaredAt
string<date-time>

When the engine began talking to the vendor directly, if before now. A bypass activated while the Courier was unreachable is declared after the fact; any past instant down to the channel's registration for the tenant is accepted and recorded as given; a future one, the zero instant, or one before that registration is refused 422. Omitted means now. Reconciliation marks every cycle overlapping the interval from this instant.

Resposta

OK

active
boolean
obrigatório
channelId
enum<string>
obrigatório
Opções disponíveis:
spb,
pix
declaredAt
string<date-time> | null
declaredBy
string | null
Maximum string length: 128
engineId
string | null
Pattern: ^[a-z0-9-]{1,32}$
reason
string | null
Maximum string length: 512
suspendedGuarantees
string[]

Guarantees explicitly suspended while the bypass is active.

Maximum string length: 64