API Reference
Mock QR payment
/pay-and-play-v2/deposit/journey/{journeyId}/mock-pay-qrhttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euThe player onboards with taxId and pays the journey QR Code (default R$ 50,00). The payment is notified (journey created, with amount and playerInfo) and the deposit waits for acceptance; blocked users and KYC test CPFs fail.
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.
Path parameters
Journey id.
"2d69779e-8c4f-45fc-9ee3-403fef4b94c8"Body
application/jsonPlayer's CPF, with or without punctuation. Must be a valid CPF (2001 otherwise).
"604.184.437-34"Amount in cents (default 5000).
2500Responses
200Done ({}).
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"