API Reference
Lote · Requests and release

Release payments

POST/pagamentos-lote/v1/liberar-pagamentos
Base URL: https://bb.mimicr.dev · provider: https://api.hm.bb.com.br

Authorizes the debit of a request's entries. The same batch can be released more than once. If the bank hasn't validated the batch yet, the release is scheduled and happens once it is ready. Check each entry's state afterwards.

indicadorFloat N follows the float terms; S pays on the given date, regardless of the contracted float.

OAuth scope: pagamentos-lote.lotes-requisicao.

In Mimicr, PENDENTE entries move to AGENDADO (future date) or AGUARDANDO DEBITO and are debited about 3 seconds later: PAGO (with webhook), BLOQUEADO without balance (reason 269) or for amounts ending in ,93, REJEITADO for amounts ending in ,91, and PAGO followed by DEVOLVIDO for those ending in ,92. The request goes through 9 (released), 5 (processing) and ends in 6 (processed) or 7 (rejected). A request that is already finished answers 400.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Query parameters

gw-dev-app-keystringrequired

Application key (developer_application_key) from the BB Developers Portal. Required on every call.

Body

application/json
numeroRequisicaointeger<int32>required

Number of the request to release.

Example: 1210
indicadorFloatstringrequired

N: no fee, follows the float terms. S: pays on the given date, regardless of the contracted float.

SN
Example: "N"

Responses

200Success.
mensagemRetornostring

Return message.

Example: "Liberação efetuada com sucesso"
400Invalid request (required field, date, debit account or contract), in the erros envelope.
errosobject[]required

List of errors.

Show child attributes
codigostring

Error code.

Example: "2"
versaostring

Message version.

Example: "1"
mensagemstring

Error description.

Example: "Requisição 9999999 não encontrada para este contrato."
ocorrenciastring

Occurrence id (32 hex characters), for BB support.

Example: "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).
string
Authentication parameters missingAuthentication failed
Example: "Authentication failed"
404Request or payment not found.
errosobject[]required

List of errors.

Show child attributes
codigostring

Error code.

Example: "2"
versaostring

Message version.

Example: "1"
mensagemstring

Error description.

Example: "Requisição 9999999 não encontrada para este contrato."
ocorrenciastring

Occurrence id (32 hex characters), for BB support.

Example: "ad7661e506e077d533d3559c72a4ff34"
500System error.
errosobject[]required

List of errors.

Show child attributes
codigostring

Error code.

Example: "2"
versaostring

Message version.

Example: "1"
mensagemstring

Error description.

Example: "Requisição 9999999 não encontrada para este contrato."
ocorrenciastring

Occurrence id (32 hex characters), for BB support.

Example: "ad7661e506e077d533d3559c72a4ff34"