API Reference
List immediate charges
/pix/v2/cobhttps://api-pix.bb.mimicr.dev · provider: https://api-pix.hm.bb.com.brLists the immediate charges created in the period (inicio/fim, at most 5 days). Scope: cob.read. With no results, BB answers 404. Each item comes as in the single GET, with pix[].
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>"Start of the period (RFC 3339). Maximum interval between inicio and fim: 5 days.
"2026-10-23T00:00:00Z"End of the period (RFC 3339).
"2026-10-23T23:59:59Z"Filter by CPF. Do not combine with cnpj.
Filter by CNPJ (alphanumeric CNPJ accepted). Do not combine with cpf.
Filters charges with (true) or without (false) a bound location.
Filter by charge status.
ATIVACONCLUIDAREMOVIDA_PELO_USUARIO_RECEBEDORREMOVIDA_PELO_PSPPage to return, starting at 0.
Items per page (default 100, maximum 1000).
Responses
200Charges in the period.
The filters used in the query, echoed, with the pagination.
Show child attributes
Show child attributes
Page returned.
Items per page.
Total pages.
Total items in the period.
Show child attributes
Show child attributes
Creation, Brasília time with 2 fraction digits (2026-10-23T01:57:13.32-03:00). On GETs the fraction is truncated.
The charge's debtor. Send cpf or cnpj (never both); if you send nome, the document is required and vice versa.
Show child attributes
Debtor's CPF.
"12345678909"Debtor's CNPJ (alphanumeric CNPJ accepted).
Debtor's name.
"Francisco da Silva"Show child attributes
Charge amount, with two decimals, even if it is 0.
1 lets the payer change the amount. Always returned, even if not sent.
01Pix Saque or Pix Troco: send only one of them. Saque requires valor.original 0.00; troco requires valor.original greater than zero.
Show child attributes
Show child attributes
Withdrawal or change amount.
1 lets the payer change the amount.
01Agent modality (troco accepts only AGTEC and AGTOT).
AGTECAGTOTAGPSSISPB of the withdrawal service provider.
Show child attributes
Withdrawal or change amount.
1 lets the payer change the amount.
01Agent modality (troco accepts only AGTEC and AGTOT).
AGTECAGTOTAGPSSISPB of the withdrawal service provider.
The receiver's Pix key, registered at BB. In Mimicr, the sandbox's keys and BB's four test keys.
"hmtestes2@bb.com.br"Text shown to the payer.
Additional information shown to the payer.
Show child attributes
Field name.
Field value.
Transaction identifier.
"8IpSaxGdL5mkOpTNA6BGvJBDO6"The charge's revision; each change except cancelling and changing loc adds 1.
Location bound to the charge.
Show child attributes
1001Payload URL, without scheme. In homologação BB uses qrcodepix-h.bb.com.br; in Mimicr it is qrcodepix.bb.mimicr.dev.
cobcobvQR Code payload URL, without scheme.
The charge's status. Expiration does not change the status.
ATIVACONCLUIDAREMOVIDA_PELO_USUARIO_RECEBEDORREMOVIDA_PELO_PSPThe charge's Pix Copia e Cola (EMV). BB does not generate the QR Code image: render it from this text.
BB's payment link (https://pagamentospix.apps.bb.com.br/m/#/…). BB's OpenAPI spells it hyperlink; the PDFs, hiperlink. In Mimicr, hiperlink.
Pix received by the charge (only on GETs).
Show child attributes
The Pix EndToEndIdentification.
"E000000002026102304576VBYCAW5OYZ"txid of the paid charge; absent for Pix without a charge (static QR, transfer).
Pix amount.
Breakdown of the amount: original and, in cobv, multa, juros, abatimento, desconto (each {valor}).
Key that received the Pix.
Time of receipt.
The payer's message.
Who paid. In the homologação simulator, always VICTOR LOPES DORNELES (CPF 93492239293).
Show child attributes
Show child attributes
Refund id, chosen by the client.
The refund's ReturnIdentification (32 characters).
"D00000000202610230457zddf24j5184"Refunded amount.
Nature of the refund.
ORIGINALRETIRADAMED_OPERACIONALMED_FRAUDEMED_PIX_AUTOMATICOShow child attributes
Only when DEVOLVIDO.
Refund state. All three come back with HTTP 201 on the PUT.
EM_PROCESSAMENTODEVOLVIDONAO_REALIZADOReason, only when NAO_REALIZADO.
400Invalid query parameters: inicio/fim missing, not RFC 3339 or more than 5 days apart.
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.
404No item in the given period and filters: BB answers 404, not an empty list.
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.