Pular para o conteúdo principal
GET
Get the connection to the PCR

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Resposta

OK. The connection.

bankCode
string
obrigatório

Number code of the institution: positions 1 to 3 of the barcode and the bank code printed on the boleto.

Pattern: ^[0-9]{3}$
Exemplo:

"699"

baseUrl
string<uri>
obrigatório

Address of the institution's PCR API.

Maximum string length: 2048
Exemplo:

"https://pcr.instituicao.internal"

connectionToken
string | null
obrigatório
read-only

Token of the connection's current notice route; changes at every rotation. Null before the first subscription completes. The signing key is never answered.

Pattern: ^[A-Za-z0-9_-]{22,64}$
Exemplo:

"pcn_8Qe2xV7kLm4Rt9Wb1Zc3Hy"

id
string<uuid>
obrigatório

Identifier of the connection.

Exemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a00"

ispb
string
obrigatório

ISPB of the institution.

Required string length: 8
Pattern: ^[0-9A-Z]{8}$
Exemplo:

"12345678"

licenseState
enum<string>
obrigatório

State of the institution's PCR license. UNKNOWN while the PCR does not expose it; INVALID refuses the commands to that PCR.

Opções disponíveis:
VALID,
INVALID,
UNKNOWN
Exemplo:

"UNKNOWN"

noticeEndpointPath
string | null
obrigatório
read-only

Path of the notice route of the current token. Null before the first subscription completes.

Maximum string length: 128
Exemplo:

"/v1/webhooks/pcr/pcn_8Qe2xV7kLm4Rt9Wb1Zc3Hy"

noticeEndpointUrl
string<uri> | null
obrigatório
read-only

Full address of the notice route of the current token, the one registered in the PCR subscription. Null before the first subscription completes.

Maximum string length: 2048
Exemplo:

"https://payments.instituicao.internal/v1/webhooks/pcr/pcn_8Qe2xV7kLm4Rt9Wb1Zc3Hy"

subscription
object
obrigatório

The notice subscription at the PCR.

updatedAt
string<date-time>
obrigatório

When the connection last changed, RFC 3339 in UTC.

Exemplo:

"2026-11-09T15:04:05Z"

version
integer<int64>
obrigatório

Version of the connection; a replacement sends it back.

Intervalo obrigatório: x >= 1
Exemplo:

1

bankCodeCheckDigit
string | null

Check digit printed after the bank code in the header of the boleto document, as informed by the institution, never computed; null when not informed.

Pattern: ^[0-9X]$
Exemplo:

"7"

institutionName
string | null

Name of the institution printed in the header of the boleto document; null when not informed.

Required string length: 1 - 60
Exemplo:

"Banco da Instituição S.A."

updatedBy
object

Who made the last change.