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
Accept terms and conditions
POST
Base URL: /kyc/termshttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euRecords that the player accepted the Terms & Conditions of the KYC queries. Required before any query of the CPF.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsoncpfstringrequired
Player CPF.
"45317828791"statusstringrequired
Only accepted (4443 otherwise).
accepted"accepted"Responses
200Recorded.
cpfstring
CPF (digits).
statusstring
Status.
"accepted"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"