Saltar al contenido principal
POST
Disconnect a provider

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

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
requerido

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 ruta

provider_type
string
requerido

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}$
Ejemplo:

"LERIAN"

Cuerpo

application/json

Why the provider is disconnected.

reason
string
requerido

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
Ejemplo:

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

Respuesta

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>
requerido

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

Ejemplo:

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

outcome
enum<string>
requerido

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

Opciones disponibles:
DISCONNECTED,
ALREADY_DISCONNECTED
providerType
string
requerido

Provider disconnected.

Ejemplo:

"LERIAN"

revokedConnections
integer<int64>
requerido

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

Rango requerido: x >= 0
Ejemplo:

1