API Reference
Send a Pix to the same owner
/v2/gn/pix/{idEnvio}/mesma-titularidadehttps://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brSends a Pix to an account of the same owner. Efí only offers this send in production (scope gn.pix.sameownership.send); in homologation, and in Mimicr, it answers 403 AcessoNegado.
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 (production only).
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). AcessoNegado: the same-ownership send is only available in production.
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"