Guides
Introduction
Mimicr's Trace Finance simulator answers on the same paths as Trace's sandbox, so you can integrate and test without depending on a third party.
The Trace Finance simulator reproduces Trace's FX Account, Payments and Webhooks APIs: multi-currency accounts (BRL, USDT and USDC), quotes, Pix deposits with a dynamic QR code, withdrawals, swaps, transfers between accounts, beneficiaries and signed webhooks. It answers at https://trace.mimicr.dev with exactly the same paths as Trace's sandbox (/v1/...), the same bodies, the same error codes and the same test triggers Trace documents.
To use it, swap the host. The rest of your integration stays the same.
Host swap
| Trace Finance | Mimicr |
|---|---|
https://api.sandbox.tracefinance.com/v1/oauth/client/token | https://trace.mimicr.dev/v1/oauth/client/token |
https://api.sandbox.tracefinance.com/v1/accounts | https://trace.mimicr.dev/v1/accounts |
https://api.sandbox.tracefinance.com/v1/quotes | https://trace.mimicr.dev/v1/quotes |
https://api.sandbox.tracefinance.com/v1/operations/... | https://trace.mimicr.dev/v1/operations/... |
https://api.sandbox.tracefinance.com/v1/beneficiaries | https://trace.mimicr.dev/v1/beneficiaries |
https://api.sandbox.tracefinance.com/v1/subscriptions | https://trace.mimicr.dev/v1/subscriptions |
The clientId and clientSecret are the ones of your Mimicr sandbox, not the ones Trace hands out during onboarding.
What the simulator covers
- Authentication with
clientIdandclientSecret, issuing RS256 JWTs valid for 23 hours. - Accounts with full onboarding: document requirements, UBOs, review submission, asset activation and funding instructions.
- Quotes valid for 30 seconds and consumable once.
- Deposits through
PIX_DYNAMIC_QR_CODE, Pix withdrawals, BRL ↔ stablecoin swaps, transfers between accounts of the same customer and deposit refunds. - Beneficiaries with
PIX_KEY,PIX_BANK_INSTRUCTIONandCRYPTOinstructions, compliance review and custody attestation. - Balances, inflow and outflow reports, cursor pagination and filters.
- Webhook subscriptions, HMAC-signed deliveries, retries and resend.
- Trace's sandbox triggers:
no-auto, rejection CPFs and CNPJs, John Doe, sanctioned countries,reject@sandbox.trace.finance, attestations withrejectin the file name, deposits of8.00and9.00, and withdrawals with.09cents.
What Mimicr adds
In the real sandbox the other side (compliance, the QR payer, the Pix rail) acts on its own and you can only watch. In Mimicr you can also drive that other side: approve or reject an account, pay or expire a QR, settle or fail an operation, ask for a document, move the sandbox clock and inject failures. You do it through the control API (https://api.mimicr.dev), the CLI (npx mimicr), the MCP server or the console.
Where Trace does not document a behaviour, Mimicr makes its own decision and the guides flag it with "In Mimicr, ...". This is not a promise about Trace's production behaviour.
Where to start
- Quickstart: from activation to your first deposit with a webhook.
- Authentication and Environment.
- Testing in the sandbox: every trigger and how to force each outcome.
- Journeys: open an account, beneficiaries, deposit, withdrawal, swap and transfer.
- Sandbox control: every route and action of the control API.
- API reference: start with Get a token and Create an account.