Guides
Introduction
Mimicr's Okto simulator answers on the same paths as Okto's PIX API so you can integrate and test without depending on the demo environment.
The Okto simulator reproduces the PIX API Okto offers to gaming operators: QR Code deposits (classic Pix), withdrawals by key and manual withdrawals, Automatic Pix, Biometric Pix, Pix Direct (Open Finance), Pix by Key, Smart PIX, Pay and Play 2.0, Face Match and KYC. It answers at https://okto.mimicr.dev with the same paths, the same bodies, the same {"errors": [...]} error envelope, the same codes and the same test CPFs as Okto's public Swagger.
To use it, swap the host. The rest of your integration stays the same.
Host swap
| Okto | Mimicr |
|---|---|
https://pix.oktopay.eu/transactions/deposit | https://okto.mimicr.dev/transactions/deposit |
https://demo-pix.oktopay.eu/transactions/withdraw | https://okto.mimicr.dev/transactions/withdraw |
https://demo-pix.oktopay.eu/operator | https://okto.mimicr.dev/operator |
https://demo-pix.oktopay.eu/automatic/... | https://okto.mimicr.dev/automatic/... |
https://demo-pix.oktopay.eu/biometric/... | https://okto.mimicr.dev/biometric/... |
https://demo-pix.oktopay.eu/kyc/... | https://okto.mimicr.dev/kyc/... |
The access token is your Mimicr sandbox's, not the one Okto issues to the operator.
What the simulator covers
- Authentication with a fixed access token in the
Authorization: Bearerheader. - Operator: notification URLs, notification token and balance (v1 and v2).
- Classic Pix: deposits with a BR Code, QR Code as PNG or text, due date and expiration, refund, closed loop 2.0 with accept or reject.
- Withdrawals by DICT key (CPF, CNPJ, e-mail, phone, EVP) and manual withdrawals to an account.
- Status lookups and lists with filters and pagination.
- Automatic Pix: recurrences, immediate charge, scheduled charges and cancellations.
- Biometric Pix: participants, enrollments with a WebAuthn challenge, payments and the whitelabel journey.
- Pix Direct, Pix by Key (with payer accounts and review), Smart PIX, Pay and Play 2.0 (with user blocking), Face Match and the KYC lookups.
- Notifications signed with RSA (
X-Payload-Signature) and retries. - Okto's test data: CPFs with a fixed KYC status, a mismatching account and an unauthorized bank.
What Mimicr adds
At Okto, the player is the one who pays the QR, approves at the bank or takes the selfie. In Mimicr you also drive that side: through the hosted pages the API returns in the url fields, through the console, or through the control API (https://api.mimicr.dev), the CLI (npx mimicr) and the MCP server. You can also move the sandbox clock forward and inject failures per product.
Where Okto doesn't document a behaviour, Mimicr makes its own decision and the guides flag it with "In Mimicr, ...". That is not a promise about Okto's production behaviour.
Where to start
- Quickstart: from activation to the first deposit with a notification.
- Authentication and Environment.
- Testing in the sandbox: test CPFs, KYC outcomes and chaos.
- Journeys: classic Pix, withdrawals, Automatic Pix, Biometric Pix, Pix Direct, Pix by Key, Pay and Play, Smart PIX and Face Match and KYC.
- Notifications and signature verification.
- Sandbox control: every route and action of the control API.
- API reference: start with Create a deposit and Update notification URLs.