API Reference
List entries by period
/pagamentos-lote/v1/lancamentos-periodohttps://bb.mimicr.dev · provider: https://api.hm.bb.com.brLists the entries of the requests sent in a period, filtered by payment state and product. Pagination by numeroDaPosicaoDePesquisa (500 per page).
OAuth scope: pagamentos-lote.lancamentos-info.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Query parameters
Application key (developer_application_key) from the BB Developers Portal. Required on every call.
Start date of sending the request, ddmmaaaa. Required.
23102026End date of sending, ddmmaaaa (default: the start date).
Payment state: 0 all, 1 consistent, 2 inconsistent, 3 pending, 4 scheduled, 5 paid, 6 rejected, 7 returned, 8 cancelled, 9 debited, 10 blocked, 11 awaiting debit.
Product: 0 all, 126, 127 or 128.
Debit agência. Optional.
Debit current account. Optional.
Check digit of the debit account. Optional.
Starting position of the query (0 on the first call).
Responses
200Success.
Position for the next query; 0 when there are no more pages (note the lowercase p, unlike the parameter).
0Total entries found.
Entries on this page.
Entries (up to 500 per page).
Show child attributes
Request number.
Payment state.
"PAGO"Payment id generated by BB: a 17-digit integer (from 90000000000000001 to 99999999999999999). Read it as int64 or string, never as a double.
Payee's name.
Person type: 1 individual (CPF), 2 company (CNPJ).
Payee's CPF or CNPJ.
Date as ddmmaaaa, an integer without the day's leading zero (e.g. 9012026 = 09/01/2026).
Payment amount in reais.
Debit document number (shown on the debited account's statement).
Credit document number.
Credit method: 1 account credit, 3 TED, 5 savings, 13 barcode slip, 21 slip without barcode, 30 BB boleto, 31 other banks' boleto, 45 Pix, 71 judicial deposit.
Payment authentication code (16 hex characters); filled when the payment is PAGO.
Debit date, ddmmaaaa (0 until debited).
Payment type (product): 126 Supplier payments, 127 Payroll, 128 Miscellaneous payments.
400Invalid request (required field, date, debit account or contract), in the erros envelope.
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"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"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"