API Reference
Create a payment
/biometric/deposit/paymenthttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euCreates a deposit with an enrolled enrollment (4101 otherwise) and returns the WebAuthn authenticationOptions to call navigator.credentials.get().
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonEnrollment id.
Amount in cents (integer). Upper limit of R$ 250.000,00 (2018).
2500Device data required on biometric calls. Missing fields answer 4124; Mimicr only checks that they are present.
Show child attributes
Device id.
"5439f937-165c-4213-ac50-b10ebe6cb9f9"Operating system version.
"16"Device language.
"pt"Screen size.
Show child attributes
Height in pixels.
"915"Width in pixels.
"412"Whether the device is rooted.
falseTime zone offset.
"-03:00"Screen brightness.
"150"Device uptime in ms.
"14338640"When the player's account was created.
"2022-02-22"Platform.
BROWSERANDROIDIOS"BROWSER"Your identifier, URL-safe ([A-Za-z0-9._~-], up to 100 chars). Okto generates a UUID when omitted.
"f8ccc69f-a236-4058-a9f7-d374ed1084f0"Free tags returned in responses and notifications (up to 5).
Responses
201Payment created.
Payment id.
Creation time.
"2026-10-21T19:08:59.710000+00:00"Enrollment id.
Institution of the enrollment.
Show child attributes
Participant id.
Institution name.
Logo URL.
Counterparty account of a transaction.
Show child attributes
Holder document.
"604.184.437-34"Holder name.
"Ana Ribeiro"ISPB.
"00416968"Bank name.
"BANCO INTER S.A."Branch.
"1"Account type.
"checking"Account number.
"6041844371"End-to-end id.
"E00416968202610211909LPudyxudL08"End-to-end id of the refund.
WebAuthn request options.
Show child attributes
Challenge (base64url).
Credential of the enrollment.
Show child attributes
Credential id.
Type.
Transports.
Timeout in ms.
60000Relying party id.
User verification.
Free tags returned in responses and notifications (up to 5).
Your identifier.
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"