API Reference
Gaming operator

Get operator

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

Returns the operator data and the URLs Okto notifies.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Responses

200Operator.
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"