Pular para o conteúdo principal
GET
Get a boleto's provider binding

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string

Midaz organization the boleto belongs to. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. A boleto of another organization is answered 404, exactly as one that does not exist.

Parâmetros de caminho

id
string<uuid>
obrigatório

Boleto identifier (UUID).

Exemplo:

"123e4567-e89b-12d3-a456-426614174000"

Resposta

OK.

boletoId
string<uuid>
obrigatório
Exemplo:

"123e4567-e89b-12d3-a456-426614174000"

providerAccountId
string | null
obrigatório

Provider account the boleto was issued on. Null only in these cases. An installment of a series created without ourNumbers: until the series' first emission looks its account up at the provider. Such an installment, for good: when that lookup found no numbering account for the series' midazAccountId, because the installation has no account discovery or the account was not yet enabled at the provider. A boleto created without ourNumber whose lookup at creation found no numbering account for its midazAccountId: until the provider's answer to the issuance names an account; on an installation without account discovery the answer names none, and the boleto is issued on the credential's default account.

Maximum string length: 100
Exemplo:

"001234567"

providerId
string | null
obrigatório

Identifier of the boleto at the provider. Null while the provider has not returned one (PENDING without identifier).

Maximum string length: 100
Exemplo:

"8f2a1c3d-4e5b-6a7c-8d9e-0f1a2b3c4d5e"

providerType
string
obrigatório

Provider identifier, uppercase. Records created before provider routing read BTG.

Required string length: 1 - 20
Pattern: ^[A-Z][A-Z0-9_]{0,19}$
Exemplo:

"BTG"