API Reference
Download a receipt
/v2/gn/pix/comprovanteshttps://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brDownloads the PDF receipt of a sent or received Pix or of a refund. Send exactly one of e2eid, idEnvio, rtrId and txid. In Mimicr the PDF is a simple receipt generated by the simulator.
Scope: gn.receipts.read.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Query parameters
endToEndId of a sent or received Pix.
idEnvio of a sent Pix.
rtrId of a refund.
txid of a paid charge.
Responses
200PDF receipt.
400ComprovanteConsultaInvalida: none or more than one parameter.
URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.
"https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"Short title of the problem.
"Não Encontrado"HTTP status code of the problem.
404Description of the problem.
"Entidade não encontrada."Violations found in the request.
Show child attributes
Reason for the violation.
Property that caused the violation.
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"403The token lacks the required scope (insufficient_scope).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"404Resource not found or not owned by the authenticated account.
URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.
"https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"Short title of the problem.
"Não Encontrado"HTTP status code of the problem.
404Description of the problem.
"Entidade não encontrada."Violations found in the request.
Show child attributes
Reason for the violation.
Property that caused the violation.