Guides
Getting started

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 FinanceMimicr
https://api.sandbox.tracefinance.com/v1/oauth/client/tokenhttps://trace.mimicr.dev/v1/oauth/client/token
https://api.sandbox.tracefinance.com/v1/accountshttps://trace.mimicr.dev/v1/accounts
https://api.sandbox.tracefinance.com/v1/quoteshttps://trace.mimicr.dev/v1/quotes
https://api.sandbox.tracefinance.com/v1/operations/...https://trace.mimicr.dev/v1/operations/...
https://api.sandbox.tracefinance.com/v1/beneficiarieshttps://trace.mimicr.dev/v1/beneficiaries
https://api.sandbox.tracefinance.com/v1/subscriptionshttps://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 clientId and clientSecret, 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_INSTRUCTION and CRYPTO instructions, 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 with reject in the file name, deposits of 8.00 and 9.00, and withdrawals with .09 cents.

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