API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Keys, balance and settings

Download a receipt

GET/v2/gn/pix/comprovantes
Base URL: https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.br

Downloads 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

e2eidstring

endToEndId of a sent or received Pix.

idEnviostring

idEnvio of a sent Pix.

rtrIdstring

rtrId of a refund.

txidstring

txid of a paid charge.

Responses

200PDF receipt.
string<binary>
400ComprovanteConsultaInvalida: none or more than one parameter.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.

401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
403The token lacks the required scope (insufficient_scope).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
404Resource not found or not owned by the authenticated account.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.