API Reference
Lote · Pix

Get a Pix receipt

GET/pagamentos-lote/v1/pix/{id}/comprovante
Base URL: https://bb.mimicr.dev · provider: https://api.hm.bb.com.br

Returns 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

idinteger<int64>required

Payment id (17 digits).

Example: 90001210731030000

Query parameters

gw-dev-app-keystringrequired

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

Responses

200Success.
listaLinhasComprovantestring[]

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).
string
Authentication parameters missingAuthentication failed
Example: "Authentication failed"
404Pix payment not found.
codestringrequired

Error code.

Example: "404"
messagestringrequired

Error description.

Example: "Requisição 1234 não encontrada."
variaveisMonitoradasobject[]

Monitored variables (empty in Mimicr).

422The payment is not PAGO yet.
codestringrequired

Error code.

Example: "404"
messagestringrequired

Error description.

Example: "Requisição 1234 não encontrada."
variaveisMonitoradasobject[]

Monitored variables (empty in Mimicr).