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

Create a schedule

POST/v1/extrato-cnab/agendar
Base URL: https://extratos.efi.mimicr.dev · provider: https://extratos-h.api.efipay.com.br

Turns on automatic statement generation for a periodicity. There is at most one schedule per periodicity. Files cover closed periods: diario, the previous day; semanal, the previous week (Monday to Sunday); mensal, the previous month. In Mimicr the first file comes out when the first period after creation ends: to see tomorrow's daily file, advance the sandbox clock by one day.

Authorization

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

Body

application/json
periodicidadestringrequired

Periodicity.

diariosemanalmensal
envia_emailbooleanrequired

Send by e-mail.

comprimir_arquivosbooleanrequired

Create a .zip.

Responses

201Schedule created (plain text).
string
400Missing field, invalid periodicidade, invalid boolean fields or "Já existe uma recorrência com periodicidade …".
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"