API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Pix send

Detail a QR code

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

Reads a dynamic Pix Copy and Paste and returns the charge data: type, txid, amount, debtor and receiver. In Mimicr, only QR codes of the sandbox's own charges are detailed.

Scope: gn.qrcodes.read.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Body

application/json
pixCopiaEColastringrequired

BR Code (Pix Copy and Paste) to detail.

Responses

200QR code data.
tipoCobstring

Charge type of the location: cob or cobv.

Example: "cob"
txidstring

Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).

Example: "b3bc361ca6e857ce0803d648f9384844"
revisaointeger

Revision of the resource. Starts at 0 and increases on every change.

Example: 0
calendarioobject

Dates of the charge.

Show child attributes
criacaostring

Creation date and time (RFC 3339).

Example: "2026-10-21T23:40:30.072Z"
apresentacaostring

Date and time the QR code was presented.

Example: "2026-10-21T23:40:30.288Z"
expiracaointeger

Lifetime of the charge in seconds, counted from calendario.criacao. Must be greater than zero; the default is 86400 (24 hours).

Example: 3600
statusstring

Status.

Example: "ATIVA"
devedorobject

Individual or company that owes the charge. Send cpf or cnpj, never both.

Show child attributes
nomestring

Debtor's name.

Example: "Francisco da Silva"
cpfstring

CPF, digits only (11 digits).

Example: "***.456.789-**"
recebedorobject

Receiver data.

Show child attributes
nomestring

Receiver's name.

Example: "Exemplos Efi"
cnpjstring

CNPJ, digits only (14 digits).

Example: "91881697000102"
valorobject

Amounts.

Show child attributes
finalstring

Final amount to pay.

Example: "12.00"
chavestring

Pix key.

Example: "d01efe21-d811-41a0-9634-6bb4e7802852"
solicitacaoPagadorstring

Text shown to the payer (up to 140 characters).

Example: "Cobrança dos serviços prestados."
400QrcodeOperacaoInvalida: static QR or receiver not found.
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"
422QrcodeOperacaoInvalida: the pixCopiaECola is invalid.
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.