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

Create a certificate

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

Creates a certificate for the new account's application and returns it as a JSON string with the base64 of the .p12 file. No body. In Mimicr the content is not a real PKCS#12 (the sandbox has no certificate authority) and the limit is 5 certificates per account.

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

201Base64 of the .p12.
string

Base64 certificate.

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."