API Reference
Get a Pix receipt
/pagamentos-lote/v1/pix/{id}/comprovantehttps://bb.mimicr.dev · provider: https://api.hm.bb.com.brReturns the Pix payment receipt, line by line, as BB prints it. The content of the lines may change; automated data extraction is not recommended. Errors in the {code, message} envelope.
OAuth scope: pagamentos-lote.transferencias-pix-info or pagamentos-lote.pix-info.
In Mimicr, the receipt only exists for PAGO payments (422 before that). For a key-based Pix, the receiver's CPF:/CNPJ: line carries the sandbox's CNPJ when the key is its own; for another institution's key the DICT holder is unknown and the line is left out.
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.
Responses
200Success.
Receipt lines, as BB prints them. The content of the lines may change; automated data extraction is not recommended.
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"404Pix payment not found.
Error code.
"404"Error description.
"Requisição 1234 não encontrada."Monitored variables (empty in Mimicr).
422The payment is not PAGO yet.
Error code.
"404"Error description.
"Requisição 1234 não encontrada."Monitored variables (empty in Mimicr).