Guides
Environment
Hosts, amount, date and id formats, opening balance and the clock of the Okto sandbox in Mimicr.
Hosts
| Use | Host |
|---|---|
| Simulated Okto API | https://okto.mimicr.dev |
| Player pages (QR, bank, selfie) | https://okto.mimicr.dev/invoicelink/{id} and https://okto.mimicr.dev/mimicr/{flow}/{id} |
| Control API, MCP | https://api.mimicr.dev |
| Console | https://app.mimicr.dev |
Paths are those of Okto's Swagger, at the root of the host (no version prefix). A path Okto doesn't have answers 404 with Spring Boot's default body (timestamp, status, error, message, path).
One sandbox per organization
The sandbox plays the role of an operator: it has a name, an access token, a notification token and URLs, an RSA key pair and a balance. Every product shares the same balance and the same transaction history. "Reiniciar dados" (reset) deletes transactions, objects and notifications but keeps the token, URLs and keys.
Amounts, dates and ids
- Amounts are integers in cents (
2500= R$ 25.00). The exception is the Pix by Key mock endpoints, which take reais (10.5). - The ceiling per deposit or withdrawal is R$ 250,000.00 (
25000000); above it, error2018. - Response dates use Okto's format, with microseconds and an offset:
2026-10-21T19:08:59.710000+00:00. Lists use ISO 8601 withZ. - Input dates (
dateFirstRecurrence,dueDate,dateFrom) areyyyy-MM-dd. Day filters and the "paid today" rule use the Brasília date. - Classic deposits and withdrawals have Okto-style 16-digit ids (
1268321722477579); the other products use UUIDs. externalIdtakes up to 100 URL-safe characters (A-Z a-z 0-9 . _ ~ -). In Automatic Pix it must be a UUID.
Balance
The sandbox starts with R$ 2,000.00 (200000). Paid deposits add, completed withdrawals subtract and withdrawals not yet decided are reserved (pendingBalance). See Get balance and Get balance (v2).
Sandbox clock
Deadlines follow the sandbox clock, which you can move forward:
| Deadline | Duration |
|---|---|
Classic deposit becomes overdue | 5 minutes after creation |
Classic deposit expires (expired) | expiration seconds after the due date (default 10,800 s) |
Pix Direct payment expires (4447) | 5 minutes |
| QR of the Automatic Pix immediate charge | immediateTransaction.expirationInSeconds (default 3,600 s) |
| Pay and Play journey expires | 3 hours |
| Face Match journey expires | 1 hour |
| Automatic Pix scheduled charges | settle on the dueDate |
| Notification retries | 1 min, 5 min, 15 min, 1 h and 3 h |
npx mimicr clock okto +3h
See Sandbox control.