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

Get the credentials

GET/v1/conta-simplificada/{idContaSimplificada}/credenciais
Base URL: https://abrircontas.efi.mimicr.dev · provider: https://abrircontas-h.api.efipay.com.br

Returns the Client_Id and Client_Secret of the application created in the new account, the account and the scopes. Only works after the account opens. In Mimicr the credentials are fictitious: they don't authenticate on any other API.

Authorization

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

Path parameters

idContaSimplificadastringrequired

contaSimplificada.identificador returned by the request.

Example: "1c0a1b4a-0ff9-4596-aab7-57b12d864f14"

Responses

200Credentials.
clientIdstring

Client_Id.

clientSecretstring

Client_Secret.

contaobject
Show child attributes
numerostring

Account number.

digitostring

Check digit.

payeeCodestring

Efí account identifier.

escoposstring[]

Application scopes.

ativoboolean

Whether the application is active.

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"
404conta_nao_encontrada.
nomestringrequired

Error code.

Example: "conta_nao_encontrada"
mensagemstringrequired

Error description.

Example: "Conta simplificada não encontrada."
412conta_nao_aprovada_ou_recusada (the end client hasn't approved yet, or refused) or conta_em_processamento (approved, opening).
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."