API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
CNAB 240 statements

Download a file

GET/v1/extrato-cnab/download/{nome_arquivo}
Base URL: https://extratos.efi.mimicr.dev · provider: https://extratos-h.api.efipay.com.br

Downloads a file by name. The content is the CNAB 240 statement (240-character lines): file header, batch header, one segment E per entry, batch trailer and file trailer, with bank 364. In Mimicr the file is built at download time from the account movements in the period (Pix received and sent, refunds, Open Finance, bill payments) and comes as text/plain, or application/zip when the schedule compresses files.

Authorization

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

Path parameters

nome_arquivostringrequired

File name, as in List files.

Example: "EXTRATO_3575442_20261021.RET"

Responses

200CNAB 240 file.
string
400Arquivo não encontrado (file not found).
mensagemstringrequired

Error description.

Example: "Arquivo não encontrado"
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"