API Reference
Get a transfer
/pagamentos-lote/v1/transferencias/{id}https://bb.mimicr.dev · provider: https://api.hm.bb.com.brDetails a transfer payment by id: state, credit data, authentication (when PAGO) and rejection or return occurrences in listaDevolucao.
OAuth scope: pagamentos-lote.pagamentos-info.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Payment id (17 digits).
90001210731030000Query 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.
Payment id generated by BB: a 17-digit integer (from 90000000000000001 to 99999999999999999). Read it as int64 or string, never as a double.
90001210731030000Payment 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"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.
1Debit agência, 4 digits without the check digit.
1607Debit current account, without the check digit.
99738672Check digit of the debit account (1 character; may be X).
"X"Initial card number (always 0 in this API).
Final card number (always 0 in this API).
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).
Payment authentication code (16 hex characters); filled when the payment is PAGO.
"F033A03D67666112"Judicial deposit number.
DOC purpose (text).
"0"TED purpose (text).
Credit data.
Show child attributes
Clearing code (COMPE) of the credit bank. BB = 1.
Credit agência.
ISPB code of the credit bank. BB = "0".
Credit current account.
Check digit of the credit account.
Credit payment account.
Person type: 1 individual (CPF), 2 company (CNPJ).
Beneficiary's CPF or CNPJ.
Beneficiary's name (returned by the Bank).
Credit document number.
Payment description.
Rejection or return occurrences of the payment.
Show child attributes
Reason code: validation error when rejected, or return reason (Pix 1000 to 1120) when returned.
1010Return date, ddmmaaaa (0 when there was no return).
Refunded amount.
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 or payment not found.
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"