Get a boleto's provider binding
Returns the provider a boleto is bound to, the boletoβs identifier at that provider and the provider account.
How it works
- The provider is recorded when the boleto is created and never changes.
- Cancellation, PDF, reconciliation and notices of the boleto always go to that provider, whatever the current route says.
- Boletos created before provider routing read
BTG. providerIdis null while the provider has not returned an identifier.GET /v1/boletos/{id}does not carry these fields.- Send the boletoβs organization in
X-Organization-Id. A boleto of another organization answers404, like one that does not exist.
Headers
Path Parameters
Response
OK.
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.
100"001234567"

