Disconnect a provider
Disconnects one provider from the tenant of your credentials.
Providers: Lerian (PCR) and BTG.
How it works
- It records the provider as disconnected and deactivates the tenant’s credential of that provider, if any. Then it revokes the tenant’s inbound webhook connections for it.
- The disconnect is refused, and nothing changes, while an operation of the route points to the provider (
routedOperations). It is also refused while the provider has open operations (openOperations): boletosPENDINGorCREATED, unfinished batch submissions, live payments, or unprocessed inbound notices. - After the disconnect, new payments and boletos of the provider are refused, and its new inbound notices are rejected.
- If the webhook revocation fails after the disconnect was recorded, you get
503. The provider stays disconnected. Call again to complete the revocation. Until then, a reconnect is refused. - The provider stays disconnected until
POST /v1/admin/providers/{provider_type}/reconnect. The credential sync does not recreate its credential. - A provider already disconnected returns
outcome: ALREADY_DISCONNECTEDwith thedisconnectedAtof the disconnect in force, and the revocation runs again. - A retry under the same
Idempotency-Keyanswers from the earlier disconnect and only completes its revocation. provider_typeis matched case-insensitively, asGET /v1/admin/providers/capabilitiesnames it.- This is not an incident tool. To cut a leaked webhook channel at once, use
POST /v1/admin/providers/webhooks/{provider_type}/cancel. - Requires the
admin:createpermission, held byeditor. Every refusal is recorded with the actor, the reason and the counts.
Planned changes
- DDA (electronic payer): the disconnect also counts the provider’s active electronic payer adhesions. With any, it is refused, and the refusal gains
activeElectronicPayersandactiveElectronicPayersUnavailable. If the provider cannot count them, the disconnect is refused even when every other count is zero.
POST
Disconnect a provider
Encabezados
Parámetros de ruta
Cuerpo
application/json
Why the provider is disconnected.
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.

