Guides
Getting started

Environment

The simulator's hosts, what matches Trace's sandbox and what is Mimicr's own.

The simulator replaces Trace's sandbox (https://api.sandbox.tracefinance.com). Trace's production environment has no Mimicr counterpart: once your integration is validated, point it at Trace.

Hosts

HostPurpose
https://trace.mimicr.devThe simulated Trace API, on the same /v1/... paths
https://api.mimicr.dev/v1/traceControl API: state, other-side actions, clock, chaos
https://api.mimicr.dev/mcpMCP server, with the same mk_… key, for agents
https://app.mimicr.devConsole: accounts, operations, beneficiaries, webhooks and other-side buttons

The simulated API uses the Trace token (Authorization: Bearer <token>). The control API and MCP use the organization key (Authorization: Bearer mk_...).

Same as Trace's sandbox

  • Paths, methods, bodies, enums and error codes.
  • JSON token endpoint with 23-hour tokens, X-Idempotency-Key required on POST, PUT and PATCH, X-Request-Id on every response.
  • Cursor pagination, bracket filters, amounts as decimal strings and UTC dates.
  • The test triggers Trace documents (see Testing in the sandbox).
  • No real money moves. Crypto addresses do not exist on any network.

Mimicr's own

  • One sandbox per organization, standing for one Trace customer with clientId, clientSecret, RSA key, a shared virtual Pix key and quote rates.
  • The pace is seconds: account review in about 3 s, QR paid in about 5 s, withdrawals and swaps settled in about 4 s.
  • Homologation toggles turn off each automatic step so you can drive the other side.
  • The price of 1 USDT and 1 USDC in BRL is configurable (default 5.00); USDT ↔ USDC is 1:1.
  • A sandbox clock you can move forward: expires quotes, QR codes and tokens without waiting.
  • Controlled chaos: latency, 500, 503 or 429 errors, operation failures and webhook failures.
  • Reset: deletes the test data and keeps credentials, rates and settings.

All of this is in Sandbox control.

Version and limits

The X-Trace-Version header is accepted and ignored, since only one version exists. Mimicr does not rate limit: a 429 only shows up if you turn chaos on. Each customer can have up to 10 webhook subscriptions.

Webhooks

Subscription URLs must be public HTTPS, as with Trace. To receive them on your machine, use an HTTPS tunnel and update the subscription with Update a subscription.