API Reference
List movement returns
/cobrancas/v2/convenios/{id}/listar-retorno-movimentohttps://bb.mimicr.dev · provider: https://api.hm.bb.com.brThe CNAB return file via API: the movements of the convênio's boletos (entry confirmed, settlement, write-off, changes…) between two dates, kept for 30 days. Paginated by record number, up to 10000 per call. In Mimicr the resource is already enabled; with no movements in the period it answers 404 4722678.
Scope: cobrancas.boletos-info.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Cobrança convênio number (7 digits). In homologação, 3128557.
"3128557"Query parameters
Your application's key (developer_application_key) in the Developers Portal. In Mimicr, the sandbox's (GET /v1/bb). Without it the gateway answers 403.
"<app-key>"Body
application/jsonStart date, dd.mm.aaaa (slashes also accepted).
"23.10.2026"End date, dd.mm.aaaa.
"23.10.2026"First record to return (starts at 1).
Number of records, up to 10000.
Responses
200Movements in the period.
S when there are more records.
SNNumber of the last record returned; ask for the next with numeroRegistroPretendido = this + 1.
Show child attributes
Command (CNAB): 2 entry confirmed, 6 normal settlement, 9 write-off, 10 write-off requested, 14 due date change, 61 registered with Pix QR, 73 partial payment, among others.
Nature of the movement; depends on the command (61 = via Pix).
400Missing (3727473) or inverted (3244972) dates.
Show child attributes
Error message code (the API's error table).
"4874915"Message version.
"1"Error text.
"Nosso Número já incluído anteriormente."How to fix it; empty when BB gives no hint.
"Informar outro Nosso Número."BB's occurrence id (trace), not an HTTP code. N/A on generic errors.
"000000000000000000221327"401Missing, invalid or expired token.
401"Unauthorized""Bad credentials"Show child attributes
"Bad Credentials"403Missing or invalid application key (gateway shape), or a token without the operation's scope (Application key is not allowed to call this resource method).
Gateway
Gateway error description.
"A chave de aplicacao (AppKey) nao foi informada"How to solve it.
"403"Show child attributes
"SISTEMA""ERRO"Escopo
401"Unauthorized""Bad credentials"Show child attributes
"Bad Credentials"404Invalid convênio (4023729) or no movement in the period (4722678).
Show child attributes
Error message code (the API's error table).
"4874915"Message version.
"1"Error text.
"Nosso Número já incluído anteriormente."How to fix it; empty when BB gives no hint.
"Informar outro Nosso Número."BB's occurrence id (trace), not an HTTP code. N/A on generic errors.
"000000000000000000221327"