Skip to main content
GET
Get the connection to the PCR

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Response

OK. The connection.

bankCode
string
required

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

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

"699"

baseUrl
string<uri>
required

Address of the institution's PCR API.

Maximum string length: 2048
Example:

"https://pcr.instituicao.internal"

connectionToken
string | null
required
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}$
Example:

"pcn_8Qe2xV7kLm4Rt9Wb1Zc3Hy"

id
string<uuid>
required

Identifier of the connection.

Example:

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

ispb
string
required

ISPB of the institution.

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

"12345678"

licenseState
enum<string>
required

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

Available options:
VALID,
INVALID,
UNKNOWN
Example:

"UNKNOWN"

noticeEndpointPath
string | null
required
read-only

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

Maximum string length: 128
Example:

"/v1/webhooks/pcr/pcn_8Qe2xV7kLm4Rt9Wb1Zc3Hy"

noticeEndpointUrl
string<uri> | null
required
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
Example:

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

subscription
object
required

The notice subscription at the PCR.

updatedAt
string<date-time>
required

When the connection last changed, RFC 3339 in UTC.

Example:

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

version
integer<int64>
required

Version of the connection; a replacement sends it back.

Required range: x >= 1
Example:

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

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

"Banco da InstituiΓ§Γ£o S.A."

updatedBy
object

Who made the last change.