API Reference
Mock a received Pix (v2)
/by-key/mock/simulate-receiving-by-dict-key-v2https://okto.mimicr.dev · provider: https://demo-pix.oktopay.euSimpler version: only the key, the amount in reais and the payer CPF. The payer's first registered account is used; a CPF with no registered account goes to reviewing.
Test endpoint of Okto's demo environment: it plays the payer side and does not exist in production. Mimicr's controlled chaos never affects mock routes.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonWallet key.
"8695ed70-4a64-4eeb-8787-d0badafdc7d5"Amount in reais.
15Payer CPF.
"617.750.603-81"Responses
200Pix received.
Result.
"success"Time of the Pix.
"2026-10-21T19:09:06.127Z"Amount in reais.
15Wallet key.
400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"401Invalid access token (code 2000).
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"