API Reference
Update notification URLs
/operatorhttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euSets the URLs that receive the signed notifications and the notificationToken. Only the fields you send change; null or "" removes a URL. pixDirectPaymentUrl is stored as directDepositUrl.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonDeposits and Pix by Key.
"https://sua-app.dev/webhooks/okto/deposit"Withdrawals.
Consent URL.
Pix Automático.
Biometric Pix (enrollments, payments and journeys).
Pix Direct (alias of directDepositUrl).
Pix Direct.
Face Match.
Results of the asynchronous KYC queries.
Pay and Play 2.0.
Token sent in Gaming-Operator-Token.
"meu-token-de-notificacao"Responses
200Operator after the update.
Operator name.
"Pessoal de Dev"Access token of the operator.
Value sent in the Gaming-Operator-Token header of every notification. When empty, the access token is sent.
Receives deposit (Invoice) and Pix by Key notifications.
Receives withdrawal (Transfer) notifications.
Consent URL (not used by the simulated products).
Receives Pix Automático notifications.
Receives Biometric Pix notifications.
Receives Pix Direct notifications.
Receives Face Match notifications.
Receives the results of the asynchronous KYC queries.
Receives Pay and Play 2.0 notifications.
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"