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

Request an account

POST/v1/conta-simplificada
Base URL: https://abrircontas.efi.mimicr.dev · provider: https://abrircontas-h.api.efipay.com.br

Requests an Efí account on behalf of your customer (simplified account), with an application already integrated with yours. Efí sends the end client a link to approve, by SMS or WhatsApp. Requires a registered webhook (Register a webhook), otherwise it answers 412. In Mimicr the link is the /aprovar/{identificador} page of this host (or the abrircontas.decide action): approved, the account opens within a few seconds and the webhook receives conta_aberta; refused, conta_recusada_pelo_cliente_final.

Authorization

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

Body

application/json
clienteFinalobjectrequired
Show child attributes
cpfstringrequired

CPF (11 digits, valid).

Example: "94271564656"
nomeCompletostringrequired

First and last name.

Example: "Gorbadoc Oldbuck"
dataNascimentostringrequired

DD/MM/YYYY. The customer must be of legal age.

Example: "15/01/1977"
nomeMaestring

Mother's name.

celularstringrequired

Mobile number with area code (10 or 11 digits).

Example: "31987654321"
emailstringrequired

E-mail.

Example: "oldbuck@example.com"
cnpjstring

CNPJ, to open an Efí Empresas account. Without it, the account is Efí Pro.

razaoSocialstring

Required with cnpj.

enderecoobjectrequired
Show child attributes
cepstringrequired

Postal code (8 digits).

estadostringrequired

State (UF).

cidadestringrequired

City.

bairrostringrequired

Neighborhood.

logradourostringrequired

Street.

numerostringrequired

Number.

complementostring

Address complement.

meioDeNotificacaostring[]required

Where the approval link is sent.

smswhatsapp
escoposIntegradosstring[]required

Scopes of the application created in the new account.

21 values
cob.writecob.readpix.writepix.readwebhook.writewebhook.readpayloadlocation.writepayloadlocation.readgn.pix.send.readgn.pix.evp.writegn.pix.evp.readgn.balance.readgn.settings.writegn.settings.readgn.opb.participants.readgn.opb.payment.pix.sendgn.opb.payment.pix.readgn.opb.payment.pix.refundgn.opb.payment.pix.cancelgn.opb.config.writegn.opb.config.read
cupomstring

Coupon (1 to 20 characters).

Responses

200Request created, waiting for the end client.
contaSimplificadaobject
Show child attributes
identificadorstring

Request identifier.

Example: "1c0a1b4a-0ff9-4596-aab7-57b12d864f14"
400Invalid customer data: cpf_invalido, nomeCompleto_invalido, nome_completo_invalido, data_nascimento_invalida, menoridade, nome_mae_invalido, celular_invalido, email_invalido, cep_invalido, cnpj_invalido, razao_social_invalida or cupom_invalido.
nomestringrequired

Error code.

Example: "conta_nao_encontrada"
mensagemstringrequired

Error description.

Example: "Conta simplificada não encontrada."
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

Authentication error code.

invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scope
error_descriptionstringrequired

Error description.

Example: "Credenciais inválidas ou inativas"
403The token lacks the scope the route requires (insufficient_scope).
errorstringrequired

Authentication error code.

invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scope
error_descriptionstringrequired

Error description.

Example: "Credenciais inválidas ou inativas"
409solicitacao_duplicada (there is already an open request for the CPF), email_cadastrado or celular_cadastrado (already used by an opened account).
nomestringrequired

Error code.

Example: "conta_nao_encontrada"
mensagemstringrequired

Error description.

Example: "Conta simplificada não encontrada."
412webhook_nao_cadastrado: register a webhook first.
nomestringrequired

Error code.

Example: "conta_nao_encontrada"
mensagemstringrequired

Error description.

Example: "Conta simplificada não encontrada."
500erro_aplicacao: "Ocorreu um erro na aplicação."
nomestringrequired

Error code.

Example: "conta_nao_encontrada"
mensagemstringrequired

Error description.

Example: "Conta simplificada não encontrada."