API Reference
List payments of a barcode
/pagamentos-lote/v1/pagamentos-codigo-barras/{codigoBarras}https://bb.mimicr.dev · provider: https://api.hm.bb.com.brLists every payment (boletos or slips) made with a barcode.
OAuth scope: pagamentos-lote.pagamentos-codigo-barras-info.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Barcode (44 digits).
"83630000000641400052836100812355200812351310"Query parameters
Application key (developer_application_key) from the BB Developers Portal. Required on every call.
Debit agência. Optional.
Debit current account. Optional.
Check digit of the debit account. Optional.
Responses
200Success.
Payments made with the barcode (boletos or slips).
Show child attributes
Payment id generated by BB: a 17-digit integer (from 90000000000000001 to 99999999999999999). Read it as int64 or string, never as a double.
Payment authentication code (16 hex characters); filled when the payment is PAGO.
Debit agência, 4 digits without the check digit.
Debit current account, without the check digit.
Check digit of the debit account (1 character; may be X).
Request number.
Debit document number (shown on the debited account's statement).
Scheduled date, ddmmaaaa.
Date it was paid, ddmmaaaa (0 until paid).
Payment amount in reais.
Beneficiary's name (returned by the Bank).
Payment state: CONSISTENTE, INCONSISTENTE, PENDENTE (release pending), AGENDADO, AGUARDANDO DEBITO, DEBITADO, PAGO, REJEITADO, DEVOLVIDO (paid and refused by the receiver), CANCELADO or BLOQUEADO (debit not made, for example for lack of balance).
CONSISTENTEINCONSISTENTEPENDENTEAGENDADOAGUARDANDO DEBITODEBITADOPAGOREJEITADODEVOLVIDOCANCELADOBLOQUEADO"PAGO"Payment description.
Error codes of the entry (up to 10), from the API's error table. Empty when accepted.
403Refused by the gateway, as plain text: Authentication parameters missing (no gw-dev-app-key) or Authentication failed (invalid app key, or token missing, expired or without the operation's scope).
Authentication parameters missingAuthentication failed"Authentication failed"404No payment for the barcode (code 318, Título Não Encontrado).
List of errors.
Show child attributes
Error code.
"2"Message version.
"1"Error description.
"Requisição 9999999 não encontrada para este contrato."Occurrence id (32 hex characters), for BB support.
"ad7661e506e077d533d3559c72a4ff34"500System error.
List of errors.
Show child attributes
Error code.
"2"Message version.
"1"Error description.
"Requisição 9999999 não encontrada para este contrato."Occurrence id (32 hex characters), for BB support.
"ad7661e506e077d533d3559c72a4ff34"