API Reference
Gaming operatorGETGet operatorPUTUpdate notification URLsDELRemove notification URLsGETGet balanceGETGet balance (v2)
Deposits (classic Pix)POSTCreate a depositGETGet the QR CodePUTRefund a depositPUTAccept a deposit (closed loop)PUTReject a deposit (closed loop)
Automatic PixPOSTCreate a recurrenceGETGet a recurrenceGETGet recurrence statusGETList recurrence transactionsPUTCancel a recurrenceGETGet transaction statusPUTCancel a scheduled transactionPOSTMock pay and authorizePOSTMock QR paymentPOSTMock a scheduled chargePOSTMock scheduling cancellationPOSTMock cancellation by the payer
Biometric PixGETList participantsPOSTCreate an enrollmentGETGet an enrollmentPOSTCreate the enrollment challengePOSTValidate the enrollment challengePUTRevoke an enrollmentGETList enrollments of a CPFPOSTCreate a paymentPOSTValidate the payment challengeGETGet payment statusGETList paymentsPOSTCreate a whitelabel journeyGETGet journey statusGETGet journey payment statusGETList journey payments
Pix by KeyGETGet the wallet keyPOSTRegister a payer bank accountGETList payer bank accountsPUTUpdate a payer bank accountDELDelete payer bank accountsGETList depositsPUTAccept a deposit under reviewPUTReject a deposit under reviewPOSTMock a received PixPOSTMock a received Pix (v2)
Smart PIXPOSTCreate a journeyGETGet journey statusGETList bank enrollmentsPOSTCreate a paymentGETGet payment status
Addresses (new source)
GET
Base URL: /kyc/addresses-new-source/{cpf}https://okto.mimicr.dev · provider: https://demo-pix.oktopay.euAsynchronous query of the addresses of the CPF in the new source (addressesNew). Answers a transactionId; the result is sent to kycUrl and can be read with GET /kyc/{id}.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
cpfstringrequired
Player CPF. Its Terms & Conditions must have been accepted (6000).
"45317828791"Responses
200Query started; the result arrives at kycUrl and in GET /kyc/{id}.
transactionIdstring
Query id.
"58bf127c-4042-4250-8acf-9035d42e1824"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).
2001messagestringrequired
Fixed message of the code.
"The tax id is invalid."detailedMessagestringrequired
What exactly went wrong.
"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).
2001messagestringrequired
Fixed message of the code.
"The tax id is invalid."detailedMessagestringrequired
What exactly went wrong.
"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).
2001messagestringrequired
Fixed message of the code.
"The tax id is invalid."detailedMessagestringrequired
What exactly went wrong.
"taxId must be a valid CPF"