API Reference
Send a Pix
/v3/gn/pix/{idEnvio}https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brSends a Pix to a key or to bank details. The paying key needs a registered webhook: the result (REALIZADO or NAO_REALIZADO) arrives through it. The send is idempotent by idEnvio: repeating the same body returns the same send; another body with the same idEnvio answers 409. Responses carry the Bucket-Size header with the tokens left.
In homologation, the amount decides the outcome: up to R$ 10.00 is REALIZADO, R$ 10.01 to R$ 20.00 is NAO_REALIZADO (through the webhook) and above R$ 20.00 is refused right away (422 pagamento_negado). R$ 4.00 comes back as two refunds of R$ 2.00 and R$ 5.00 as one refund of R$ 5.00. Efí only accepts the key efipay@sejaefi.com.br as payee in homologation; Mimicr accepts any valid key, and keys ending in @inexistente.com answer 404.
Scope: pix.send.
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/jsonAmount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"7.50"Paying 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.
"Segue o pagamento da conta"Who receives: a Pix key (chave, with optional cpf or cnpj to check the owner) or bank details (contaBanco).
Show child attributes
Payee's Pix key (up to 77 characters).
"joao@exemplo.com.br"CPF that must own the key.
CNPJ that must own the key.
Payee's bank details, instead of the key.
Show child attributes
Payee's name (up to 200 characters).
Payee's CPF (^[0-9]{11}$).
Payee's CNPJ (^[0-9]{14}$).
ISPB of the institution (8 digits).
"09089356"Branch, without check digit.
"1"Account, with check digit and no hyphen.
"123453"cacc (checking) or svgs (savings).
caccsvgsResponses
201Send accepted, EM_PROCESSAMENTO. Carries e2eId and also endToEndId.
Send id chosen by you (^[a-zA-Z0-9]{1,35}$).
"envio0001"End-to-end id of the sent Pix.
"E09089356202610212340API71276f98"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"7.50"Time.
Show child attributes
Request date and time.
"2026-10-21T23:40:23.550Z"Send status: EM_PROCESSAMENTO, REALIZADO or NAO_REALIZADO.
EM_PROCESSAMENTOREALIZADONAO_REALIZADO"EM_PROCESSAMENTO"End-to-end id of the Pix (32 characters, starts with E).
"E09089356202610212340API71276f98"400chave_invalida (the paying key is not the account's, or the payee is the account itself), chave_nao_pertence_ao_documento, valor_invalido, saldo_insuficiente or json_invalido.
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of 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"404chave_favorecido_nao_encontrada: the payee's key does not exist.
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of the violation.
409id_envio_duplicado: the idEnvio was already used by another payment.
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of the violation.
422pagamento_negado: payment denied by analysis (in homologation, amounts above R$ 20.00).
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of the violation.
429balde_fichas_vazio: no tokens left in the bucket (in Mimicr, more than 100 sends in the last minute). Comes with Bucket-Size: 0 and Retry-After.
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of the violation.