API Reference
Pay a QR code
/v2/gn/pix/{idEnvio}/qrcodehttps://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brPays a dynamic QR code with the account balance. The idEnvio follows the Pix send rules. Paying a QR of a charge of the sandbox itself completes that charge. The homologation amount table does not apply to QR code payments.
Scope: gn.qrcodes.pay.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Send id chosen by you (^[a-zA-Z0-9]{1,35}$), unique across sends and QR code payments.
Body
application/jsonPaying account: a Pix key of the authenticated account.
Show child attributes
Pix key of the authenticated Efí account. It needs a registered webhook to receive the result.
"d01efe21-d811-41a0-9634-6bb4e7802852"Payer's message.
"Pagamento de QR Code via API Pix"BR Code (Pix Copy and Paste) of the charge.
"00020101021226830014BR.GOV.BCB.PIX2561qrcodespix.efi.mimicr.dev/v2/d12925ad68c21eae4cb5dfdc3396cffa5204000053039865802BR5912EXEMPLOS EFI6008SAOPAULO62070503*..."Responses
201Payment accepted, EM_PROCESSAMENTO.
Send id chosen by you (^[a-zA-Z0-9]{1,35}$).
"qrcode0001"End-to-end id of the sent Pix.
"E09089356202610212340APIe0c16354"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"12.00"Time.
Show child attributes
Request date and time.
"2026-10-21T23:40:30.656Z"Send status: EM_PROCESSAMENTO, REALIZADO or NAO_REALIZADO.
EM_PROCESSAMENTOREALIZADONAO_REALIZADO"EM_PROCESSAMENTO"400QrcodeOperacaoInvalida: paying key of another account, static QR, charge not ATIVA or insufficient balance.
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"409QrcodeOperacaoInvalida: the idEnvio was already used.
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.
422QrcodeOperacaoInvalida: the pixCopiaECola is invalid.
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.