API Reference
Get a request
/pagamentos-lote/v1/requisicoes/{idRequisicao}https://bb.mimicr.dev · provider: https://api.hm.bb.com.brReturns the state of a request of any type and of each of its payments. Errors in the {code, message} envelope.
OAuth scope: pagamentos-lote.lotes-info.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Request number (1 to 9999999).
1210Query parameters
Application key (developer_application_key) from the BB Developers Portal. Required on every call.
Responses
200Success.
Position for the next query (0 in Mimicr, which returns up to 300 payments).
0Request state: 1 all entries with consistent data; 2 at least one entry with inconsistent data; 3 all entries with inconsistent data; 4 waiting for the client (payment not authorized yet); 5 being processed by the Bank; 6 processed; 7 rejected; 8 preparing an unreleased batch; 9 released via API; 10 preparing a released batch. States 6 and 7 are final.
123456789101Payment type (product): 126 Supplier payments, 127 Payroll, 128 Miscellaneous payments.
Request date, ddmmaaaa.
Number of entries in the request.
Total amount of the request's entries.
Payments of the request, with each one's current state.
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.
Date as ddmmaaaa, an integer without the day's leading zero (e.g. 9012026 = 09/01/2026).
Payment amount in reais.
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.
Person type: 1 individual (CPF), 2 company (CNPJ).
Beneficiary's CPF or CNPJ.
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"404Request not found.
Error code.
"404"Error description.
"Requisição 1234 não encontrada."Monitored variables (empty in Mimicr).