API Reference
Gaming operator

Update notification URLs

PUT/operator
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Sets 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/json
depositUrlstring

Deposits and Pix by Key.

Example: "https://sua-app.dev/webhooks/okto/deposit"
withdrawUrlstring

Withdrawals.

consentUrlstring

Consent URL.

automaticDepositUrlstring

Pix Automático.

biometricDepositUrlstring

Biometric Pix (enrollments, payments and journeys).

pixDirectPaymentUrlstring

Pix Direct (alias of directDepositUrl).

directDepositUrlstring

Pix Direct.

faceMatchUrlstring

Face Match.

kycUrlstring

Results of the asynchronous KYC queries.

payAndPlayV2DepositUrlstring

Pay and Play 2.0.

notificationTokenstring

Token sent in Gaming-Operator-Token.

Example: "meu-token-de-notificacao"

Responses

200Operator after the update.
namestring

Operator name.

Example: "Pessoal de Dev"
accessTokenstring

Access token of the operator.

notificationTokenstring | null

Value sent in the Gaming-Operator-Token header of every notification. When empty, the access token is sent.

depositUrlstring | null

Receives deposit (Invoice) and Pix by Key notifications.

withdrawUrlstring | null

Receives withdrawal (Transfer) notifications.

consentUrlstring | null

Consent URL (not used by the simulated products).

automaticDepositUrlstring | null

Receives Pix Automático notifications.

biometricDepositUrlstring | null

Receives Biometric Pix notifications.

directDepositUrlstring | null

Receives Pix Direct notifications.

faceMatchUrlstring | null

Receives Face Match notifications.

kycUrlstring | null

Receives the results of the asynchronous KYC queries.

payAndPlayV2DepositUrlstring | null

Receives Pay and Play 2.0 notifications.

400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
401Invalid access token (code 2000).
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"