Skip to main content
POST
Disconnect a provider

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

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
required

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.

Path Parameters

provider_type
string
required

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

"LERIAN"

Body

application/json

Why the provider is disconnected.

reason
string
required

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

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

Response

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

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

Example:

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

outcome
enum<string>
required

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

Available options:
DISCONNECTED,
ALREADY_DISCONNECTED
providerType
string
required

Provider disconnected.

Example:

"LERIAN"

revokedConnections
integer<int64>
required

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

Required range: x >= 0
Example:

1