API Reference
Get a KYC result
/kyc/{id}https://okto.mimicr.dev · provider: https://demo-pix.oktopay.euResult of an asynchronous query: the same body sent to kycUrl, with the section of the query (compliance, addresses, addressesNew, phones, phonesNew, emails or betRestrictionsSportsData).
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
transactionId of the query.
Responses
200Result.
Query id.
CPF digits.
Result.
APPROVEDREPROVEDErrors.
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"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"