Guides
Environment
The simulator's hosts, what matches Efí's homologation and what is Mimicr's own.
The simulator replaces Efí's homologation environment. It has no production counterpart: once the integration is validated, point to Efí.
Hosts
| Host | What for |
|---|---|
https://pix.efi.mimicr.dev | API Pix and Pix Automático (/oauth/token, /v2/..., /v3/gn/...) |
https://cobrancas.efi.mimicr.dev | API Cobranças (/v1/...) |
https://openfinance.efi.mimicr.dev | Open Finance (/v1/...) and the payer's consent screens |
https://pagarcontas.efi.mimicr.dev | Pagamento de contas (/v1/...) |
https://extratos.efi.mimicr.dev | CNAB 240 statements (/v1/...) |
https://abrircontas.efi.mimicr.dev | Abertura de contas (/v1/...) and the end client's approval screen |
https://api.mimicr.dev/v1/efi | Control API: state, other-side actions, clock, chaos |
https://api.mimicr.dev/mcp | MCP server, with the same mk_… key, for agents |
https://app.mimicr.dev | Console: charges, sends, recurrences, webhooks and other-side buttons |
The simulated APIs use Efí's token (Authorization: Bearer <token>). The control API and the MCP use the organization key (Authorization: Bearer mk_...).
Each API has its own host because paths repeat across them (for example, /v1/oauth/token and /v1/webhook). If the SDK asks for a base URL, use the Mimicr host instead of Efí's.
Same as Efí's homologation
- Paths, methods, bodies, status codes and scopes.
- The API Pix's three error formats:
{nome, mensagem}, BACEN's problem+json and OAuth (see API Pix errors). - The homologation rules: charges up to R$ 10.00 paid on their own, R$ 0.01 refund rejected, the send amount table and
POST /v2/gn/webhook/reenviardisabled (see Homologation rules). - Webhooks at
webhookUrl+/pix(or/rec,/cobr), with the test at registration and Efí's retries. - No real money moves.
Mimicr's own
- One sandbox per organization: an Efí account with Client_Id and Client_Secret, account and branch, two Pix keys and a R$ 1,000.00 balance. All six APIs move the same balance.
- No mTLS: neither on your calls nor on webhooks. The webhook can be
http://localhostwhen Mimicr runs on your machine. - The pace is seconds: automatic payments, send and refund results arrive in about 3 s.
- The other side can be driven: pay a charge, decide a send, open a MED infraction, authorize a recurrence.
- Homologation switches (
autoPayCobandenvioRules) turn off the automatic payment and the send amount table. - A sandbox clock you can advance: due dates pass, tokens expire and recurring charges settle without waiting.
- Controlled chaos: latency, 500, 503 or 429 errors, operation and webhook failures.
- Reset: deletes test data and keeps credentials, keys and settings.
All of this is in Sandbox control.
Limits
Efí limits API Pix PUT and POST calls to 500 requests per second. Mimicr does not apply that limit: a generic 429 only shows up with chaos on. The Pix send (PUT /v3/gn/pix/:idEnvio) has its own token bucket: in Mimicr it is 100 sends per minute, counted in the Bucket-Size header; after that the response is 429 balde_fichas_vazio with Retry-After: 60.