Pular para o conteúdo principal
POST
Disconnect a provider

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string<uuid>

Tenant organization ID. Optional. The organization context is determined by the credentials you authenticate with; this header does not select or change it.

Idempotency-Key
string
obrigatório

Client-supplied idempotency key, a UUID. Required: a request without it, with a value that is not a UUID, or with the nil UUID is refused with 400 PBP-0012.

Parâmetros de caminho

provider_type
string
obrigatório

Provider to disconnect, as the capabilities read names it. Matched case-insensitively.

Required string length: 1 - 20
Pattern: ^[A-Za-z][A-Za-z0-9_]{0,19}$
Exemplo:

"LERIAN"

Corpo

application/json

Why the provider is disconnected.

reason
string
obrigatório

Why the provider is disconnected or reconnected. Recorded in the disconnect history, also when the call is refused. Must not carry personal data or secrets.

Required string length: 1 - 500
Pattern: \S
Exemplo:

"Contrato com o provider encerrado em 30/11."

Resposta

OK. The provider is disconnected. From now on, new payments and boletos of this provider are refused with 503 PBP-0704, and its new inbound notices with 401 PBP-0500.

disconnectedAt
string<date-time>
obrigatório

When the provider was disconnected, in UTC: the disconnect in force.

Exemplo:

"2026-11-30T18:00:00Z"

outcome
enum<string>
obrigatório

DISCONNECTED, this call put the pair in the disconnected state; ALREADY_DISCONNECTED, the pair was already disconnected (the revocation is still re-applied).

Opções disponíveis:
DISCONNECTED,
ALREADY_DISCONNECTED
providerType
string
obrigatório

Provider disconnected.

Exemplo:

"LERIAN"

revokedConnections
integer<int64>
obrigatório

Webhook connections of the provider that could still serve a delivery and no longer can. Zero is a success.

Intervalo obrigatório: x >= 0
Exemplo:

1