API Reference
Get a cobv batch
/pix/v2/lotecobv/{id}https://api-pix.bb.mimicr.dev · provider: https://api-pix.hm.bb.com.brGets a batch: each charge with status CRIADA or NEGADA and, if denied, its problema (in the https://pix.bcb.gov.br/api/v2/error/ namespace). Scope: lotecobv.read.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Query parameters
Your application's application key (developer_application_key) from the BB Developers Portal. Required on every call.
"<app-key>"Responses
200The batch.
Show child attributes
The charge's status in the batch.
EM_PROCESSAMENTOCRIADANEGADAReason for denial (only on NEGADA).
Show child attributes
URI of the error type, e.g. https://api.bb.com.br/api/v2/error/CobOperacaoInvalida.
Error title.
"Cobrança inválida."HTTP status.
400Error detail. BB's business messages (repeated txid, key not owned by the client) come here.
BB's correlation identifier (API-BB-…).
"API-BB-6730c0d7-b742-4fc0-bc63-8f2753ef90dd"Occurrence number (on 404).
Fields that violated the schema or the rules.
Show child attributes
Reason for the violation.
The violated property, e.g. cob.valor.original.
Value received, when there is one.
401Token missing, invalid, expired or issued to another application.
401"Unauthorized""Bad credentials"Show child attributes
"Bad Credentials"403Application key (gw-dev-app-key) missing or invalid (gateway error), or token without the operation's scope (AcessoNegado).
Chave de aplicação (gateway)
Message, without accents.
"A chave de aplicacao (AppKey) nao foi informada"Guidance to fix it.
"403"Show child attributes
"SISTEMA""ERRO"Problema (API Pix)
URI of the error type, e.g. https://api.bb.com.br/api/v2/error/CobOperacaoInvalida.
Error title.
"Cobrança inválida."HTTP status.
400Error detail. BB's business messages (repeated txid, key not owned by the client) come here.
BB's correlation identifier (API-BB-…).
"API-BB-6730c0d7-b742-4fc0-bc63-8f2753ef90dd"Occurrence number (on 404).
Fields that violated the schema or the rules.
Show child attributes
Reason for the violation.
The violated property, e.g. cob.valor.original.
Value received, when there is one.
404Entity not found (NaoEncontrado).
URI of the error type, e.g. https://api.bb.com.br/api/v2/error/CobOperacaoInvalida.
Error title.
"Cobrança inválida."HTTP status.
400Error detail. BB's business messages (repeated txid, key not owned by the client) come here.
BB's correlation identifier (API-BB-…).
"API-BB-6730c0d7-b742-4fc0-bc63-8f2753ef90dd"Occurrence number (on 404).
Fields that violated the schema or the rules.
Show child attributes
Reason for the violation.
The violated property, e.g. cob.valor.original.
Value received, when there is one.
503Service unavailable (ServicoIndisponivel): maintenance or outside the service window.
URI of the error type, e.g. https://api.bb.com.br/api/v2/error/CobOperacaoInvalida.
Error title.
"Cobrança inválida."HTTP status.
400Error detail. BB's business messages (repeated txid, key not owned by the client) come here.
BB's correlation identifier (API-BB-…).
"API-BB-6730c0d7-b742-4fc0-bc63-8f2753ef90dd"Occurrence number (on 404).
Fields that violated the schema or the rules.
Show child attributes
Reason for the violation.
The violated property, e.g. cob.valor.original.
Value received, when there is one.